Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 1 | {% extends "base.html" %} |
pR0Ps | 6bf5227 | 2013-12-11 13:25:27 -0500 | [diff] [blame] | 2 | {% block title %}Categories | {{ SITENAME }}{% endblock %} |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 3 | |
pR0Ps | d44c2f9 | 2014-12-18 01:49:27 -0500 | [diff] [blame] | 4 | {% block description %}A listing of all categories on this site{% endblock %} |
| 5 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 6 | {% block content %} |
Giulio Fidente | a5278c1 | 2013-03-23 00:33:24 +0100 | [diff] [blame] | 7 | <article> |
Giulio Fidente | 0bc1f0e | 2013-11-05 16:23:23 +0100 | [diff] [blame] | 8 | <div class="article_text"> |
Giulio Fidente | a5278c1 | 2013-03-23 00:33:24 +0100 | [diff] [blame] | 9 | <ul> |
pR0Ps | 829e5bd | 2014-09-25 03:02:06 -0400 | [diff] [blame] | 10 | {% for category, articles in categories|sort %} |
pR0Ps | 5095e22 | 2013-12-05 15:14:56 -0500 | [diff] [blame] | 11 | <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li> |
Giulio Fidente | a5278c1 | 2013-03-23 00:33:24 +0100 | [diff] [blame] | 12 | {% endfor %} |
| 13 | </ul> |
| 14 | </div> |
| 15 | </article> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 16 | {% endblock %} |