diff --git a/templates/index.html b/templates/index.html index 9b85c44..2354895 100644 --- a/templates/index.html +++ b/templates/index.html @@ -114,6 +114,13 @@

Agenda

{% for event in events if event.as_date >= last_week %} + {% if loop.first or event.date.year != loop.previtem.date.year %} +
+
+
{{ event.date.year }}
+
+
+ {% endif %}
{{event.as_date.strftime("%a, %d, %b")}}