]> git.p6c8.net - pcdenotes.git/blobdiff - notes/templates/archive_main.html
Fix sorting in archive view
[pcdenotes.git] / notes / templates / archive_main.html
index 268e950d42fa3b1f9710590459e637b9ec6f7035..1cf6a28ebc1eda57a4f1a094b6bf67e9789be45b 100644 (file)
@@ -8,7 +8,7 @@
 {% if years %}
 <ul>
   {% for year in years %}
-    <li><a href="{{ year }}/">{{ year }}</a></li>
+    <li><a href="{{ year.published_year }}/">{{ year.published_year }}</a> ({{ year.total }})</li>
   {% endfor %}
 </ul>
 {% else %}

patrick-canterino.de