theme/templates/period_archives.html

changeset 36
9507107a1133
equal deleted inserted replaced
35:bb011397a99c 36:9507107a1133
1 {% extends "base.html" %}
2 {% block archclass %} class="active"{%endblock%}
3
4 {% block content %}
5
6 <dl>
7 {% for year, date_year in dates|groupby( 'date.year' )|sort(reverse=True) %}
8 <h3><a href="{{SITEURL}}/{{year}}" class="text">Archive for {{ year }}</a></h3>
9 <ul class="archive-list">
10 {% for article in date_year %}
11 <li><span class="text-muted">{{article.locale_date}} &raquo; </span><a href="{{ SITEURL }}/{{ article.url }}">{{article.title}}</a></li>
12 {% endfor %}
13 </ul>
14 {% endfor %}
15 </dl>
16 {% endblock %}

mercurial