{% extends "base.html" %} {% block content %}
{% for author, articles in authors|sort %}

{{ author.name }}

{% for first_group in articles|groupby('date.year')|sort(reverse=True) %} {% for second_group in first_group.list|groupby('date.month')|sort(reverse=True) %}

{{ second_group.list[0].date|strftime('%B') }} {{ first_group.grouper }}

{% for article in second_group.list %}

{{ article.title }} {{ article.date|strftime('%b %d, %Y') }}

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