2019-07-18 10:43:36 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block title %} – {{ _('Archives') }}{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<article class="single">
|
|
|
|
<header>
|
|
|
|
<h1>{{ _('Archives') }}</h1>
|
|
|
|
</header>
|
|
|
|
<div>
|
|
|
|
<dl>
|
|
|
|
{% set previous_date = False %}
|
2020-06-24 06:26:04 +00:00
|
|
|
{% for article in dates %}
|
2019-07-18 10:43:36 +00:00
|
|
|
{% if article.locale_date != previous_date %}
|
|
|
|
{% set previous_date = article.locale_date %}
|
2020-06-24 06:26:04 +00:00
|
|
|
<dt>{{ article.locale_date }}</dt>
|
2019-07-18 10:43:36 +00:00
|
|
|
{% endif %}
|
|
|
|
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
|
|
|
|
{% endfor %}
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{% endblock %}
|