Added missing </a> tag. Edited header elements.

This commit is contained in:
Matts
2012-02-11 13:44:42 -05:00
parent 9b90d6e340
commit 223b93e987

View File

@@ -2,12 +2,12 @@
{% block title %}{{ SITENAME }} <small>[archive]</small>{% endblock %}
{% block content %}
{% for year, date_year in dates|groupby( 'date.year' ) %}
<h1>{{ year }}</h1>
<h2>{{ year }}</h2>
{% for month, articles in date_year|groupby( 'date.month' ) %}
<h2>{{ articles[ 0 ].date.strftime( '%B' ) }}</h2>
<p><b>{{ articles[ 0 ].date.strftime( '%B' ) }}</b></p>
<ul>
{% for article in articles %}
<li><a href="{{ article.url }}">{{ article.title }}</li>
<li><a href="{{ article.url }}">{{ article.title }}</a></li>
{% endfor %}
</ul>
{% endfor %}