{% extends "base.html" %} {% from "macros.html" import display_date %} {% block content %}

Holidays

{% for item in items %} {% set country = get_country(item.country) %} {% if loop.first or item.date != loop.previtem.date %} {% else %} {% endif %} {% endfor %}
{{ display_date(item.date) }} in {{ (item.date - today).days }} days{{ country.flag }} {{ country.name }} {{ item.display_name }}
{% endblock %}