diff --git a/templates/archives.html b/templates/archives.html
index bdda89d..f7fc626 100644
--- a/templates/archives.html
+++ b/templates/archives.html
@@ -10,7 +10,7 @@
{% set previous_date = False %}
{% for article in dates %}
- {% if article.locale_date != previous_date: %}
+ {% if article.locale_date != previous_date %}
{% set previous_date = article.locale_date %}
- {{ article.locale_date }}
{% endif %}