diff --git a/templates/holiday_list.html b/templates/holiday_list.html index 742dd60..9968e9f 100644 --- a/templates/holiday_list.html +++ b/templates/holiday_list.html @@ -8,7 +8,11 @@ {% for item in items %} {% set country = get_country(item.country) %} - {{ display_date(item.date) }} + {% if loop.first or item.date != loop.previtem.date %} + {{ display_date(item.date) }} + {% else %} + + {% endif %} {{ country.flag }} {{ country.name }} {{ item.name }}