flex/pelican/themes/Flex/templates/period_archives.html

25 lines
615 B
HTML
Raw Permalink Normal View History

{% extends "base.html" %}
{% block title %} – {{ _('Archives') }}{% endblock %}
{% block content %}
<article class="single">
<header>
<h1 id="archives">{{ _('Archives') }}</h1>
</header>
<div>
<dl>
{% set previous_date = False %}
2020-04-20 23:36:36 +02:00
{% for article in dates %}
{% if article.locale_date != previous_date %}
{% set previous_date = article.locale_date %}
2020-04-20 23:36:36 +02:00
<dt>{{ article.locale_date }}</dt>
{% endif %}
2020-04-20 23:36:36 +02:00
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
{% endfor %}
</dl>
</div>
</article>
{% endblock %}