diff options
Diffstat (limited to 'bricks/templates/categories.html')
-rw-r--r-- | bricks/templates/categories.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bricks/templates/categories.html b/bricks/templates/categories.html new file mode 100644 index 0000000..d5b0c83 --- /dev/null +++ b/bricks/templates/categories.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Categories {% endblock %} + + + +{% block content %} + <h1>Categories for {{ SITENAME }}</h1> + <ul class="tag-list"> + {%- for category, articles in categories|sort %} + <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li> + {% endfor %} + </ul> +{% endblock %} + +{% block footer %} +{% include 'credits.html' %} +{% endblock %} |