flex/templates/archives.html
2016-07-30 14:34:54 +02:00

22 lines
605 B
HTML

{% extends "base.html" %}
{% block title %} – {% trans %}Archives{% endtrans %}{% endblock %}
{% block content %}
<article>
<header>
<h1>{% trans %}Archives{% endtrans %}</h1>
</header>
<div>
<dl>
{% set previous_date = False %}
{% for article in dates %}
{% if article.locale_date != previous_date %}
{% set previous_date = article.locale_date %}
<dt>{{ article.locale_date }}</dt>
{% endif %}
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
{% endfor %}
</dl>
</div>
</article>
{% endblock %}