36 lines
1.0 KiB
HTML
36 lines
1.0 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="main journal">
|
|
<h1 class="subtitle">Journal</h1>
|
|
|
|
<!-- If you are using pagination, section.pages will be empty. You need to use the paginator object -->
|
|
{% for page in section.pages %}
|
|
|
|
{% if page.taxonomies.type %}
|
|
{% set pageType = page.taxonomies.type | first %}
|
|
{% if pageType == "page" %}
|
|
{% continue %}
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
<section class="entry">
|
|
<h2><a href="{{ page.permalink | safe }}">{{ page.title }}</a></h2>
|
|
<div class="meta">
|
|
<p class="date">{{ page.date | date(format="%d %b %Y") }}</p>
|
|
<p class="split">·</p>
|
|
<div class="tags">
|
|
{% if page.taxonomies.tags %}
|
|
{% for t in page.taxonomies.tags %}
|
|
<p class="tag">{{ t }}</p>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
<p>{{ page.summary | safe }}</p>
|
|
</section>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock content %}
|