2015-07-19 02:04:01 +02:00
|
|
|
{% extends "base.html" %}
|
2016-08-10 19:28:32 +02:00
|
|
|
{% block title %} – {{ _('Archives') }}{% endblock %}
|
2015-07-19 02:04:01 +02:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<article>
|
|
|
|
<header>
|
2016-08-10 19:28:32 +02:00
|
|
|
<h1>{{ _('Archives') }}</h1>
|
2015-07-19 02:04:01 +02:00
|
|
|
</header>
|
|
|
|
<div>
|
|
|
|
<dl>
|
2016-02-07 05:35:52 +01:00
|
|
|
{% set previous_date = False %}
|
2015-07-19 02:04:01 +02:00
|
|
|
{% for article in dates %}
|
2016-02-10 01:48:38 +01:00
|
|
|
{% if article.locale_date != previous_date %}
|
2016-02-07 05:35:52 +01:00
|
|
|
{% set previous_date = article.locale_date %}
|
2015-07-19 02:04:01 +02:00
|
|
|
<dt>{{ article.locale_date }}</dt>
|
2016-02-07 05:35:52 +01:00
|
|
|
{% endif %}
|
2015-07-19 02:04:01 +02:00
|
|
|
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
|
|
|
|
{% endfor %}
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{% endblock %}
|