{% extends "base.html" %} {% block title %}{{ SITENAME }} [archive]{% endblock %} {% block content %} {% for year, date_year in dates|groupby( 'date.year' ) %}