diff --git a/templates/archives.html b/templates/archives.html index 70b14ab..bdda89d 100644 --- a/templates/archives.html +++ b/templates/archives.html @@ -8,8 +8,12 @@
+ {% 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 %}