commit | 829e5bd5892bfd19e1bd3894634d1ccd6ca61286 | [log] [tgz] |
---|---|---|
author | pR0Ps <pR0Ps.CM@gmail.com> | Thu Sep 25 03:02:06 2014 -0400 |
committer | pR0Ps <pR0Ps.CM@gmail.com> | Thu Sep 25 13:19:46 2014 -0400 |
tree | 25f526e5279ccc1a310754b36dc3c86621287b12 | |
parent | cc0f61e1ad2e25e3ed40ad90b9ff3b2135f4511d [diff] [blame] |
Sort authors and categories
diff --git a/templates/categories.html b/templates/categories.html index 34deba2..e089140 100644 --- a/templates/categories.html +++ b/templates/categories.html
@@ -9,7 +9,7 @@ <article> <div class="article_text"> <ul> - {% for category, articles in categories %} + {% for category, articles in categories|sort %} <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li> {% endfor %} </ul>