{% extends "base.html" %} {% block page_meta %} {% endblock page_meta %} {% block content %} {% for y, months in counts|groupby('year')|reverse() %}