blob: 2d02e12014a81d5c63587b0ffdb5bdc1fec3a0ea (
plain) (
tree)
|
|
{% extends "base.html" %}
{% block title %}{{ SITENAME }} <small>[archive]</small>{% endblock %}
{% block content %}
{% for year, date_year in dates|groupby( 'date.year' ) %}
<h2>{{ year }}</h2>
{% for month, articles in date_year|groupby( 'date.month' ) %}
<h3>{{ articles[ 0 ].date.strftime( '%B' ) }}</h3>
<ul>
{% for article in articles %}
<li><a href="{{ article.url }}">{{ article.title }}</li>
{% endfor %}
</ul>
{% endfor %}
{% endfor %}
{% endblock %}
|