diff --git a/templates/period_archives.html b/templates/period_archives.html new file mode 100644 index 0000000..23df1e5 --- /dev/null +++ b/templates/period_archives.html @@ -0,0 +1,22 @@ +{% extends "base.html" %} +{% block title %} – {{ _('Archives') }}{% endblock %} + +{% block content %} +
+
+

{{ _('Archives') }}

+
+
+
+ {% set previous_date = False %} + {% for article in dates %} + {% if article.locale_date != previous_date %} + {% set previous_date = article.locale_date %} +
{{ article.locale_date }}
+ {% endif %} +
{{ article.title }}
+ {% endfor %} +
+
+
+{% endblock %}