{% extends "base.html" %} {% block title %} Archive | {{ SITENAME }} {% endblock %} {% block content %}

Archive

{% for year, date_year in dates|groupby( 'date.year' ) %}

{{ year }}

{% for month, articles in date_year|groupby( 'date.month' ) %}

{{ articles[ 0 ].date.strftime( '%B' ) }}

{% endfor %} {% endfor %} {% endblock %}