{% extends "index.html" %} {% block title %}Archivio {{ SITENAME }}{% endblock %} {% block ogtitle %}Archivio {{ SITENAME }}{% endblock %} {% block ogurl %}{{ SITEURL }}/archives.html{%endblock%} {% block canonicalurl %}{{ SITEURL }}/archives.html{%endblock%} {% block content %}

{% block content_title %}Archivio per data{% endblock %}

{% for article in dates %} {% set this_year = article.date.strftime('%Y') %} {% if this_year != prev_year %}
{{ this_year }}
{% endif %} {% if this_year != prev_year or this_month != prev_month %}
{{ this_month }}
{% endif %}
{% if this_month != prev_month or this_day != prev_day %}
{{ this_day }}
{% endif %}
{{ article.title }} {{ article.category }}
{% set prev_year = this_year %} {% set prev_month = this_month %} {% set prev_day = this_day %} {% endfor %}
{% endblock %}