This is by year, not by date.

This commit is contained in:
Bradley M. Kuhn 2015-03-04 14:45:56 -08:00
parent f3eeca0969
commit e54aff906c

View file

@ -29,7 +29,7 @@
<div class="clear"></div> <div class="clear"></div>
{% if date_list %} {% if date_list %}
<h3>Index by date</h3> <h3>Blog Index by Year</h3>
<ul> <ul>
{% for year in date_list reversed %}<li><a href="{{ year|date:"Y" }}/">{{ year|date:"Y" }}</a></li>{% endfor %} {% for year in date_list reversed %}<li><a href="{{ year|date:"Y" }}/">{{ year|date:"Y" }}</a></li>{% endfor %}
</ul> </ul>