theme/templates/categories.html

changeset 36
9507107a1133
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/theme/templates/categories.html	Sat Mar 12 17:37:27 2016 +0100
@@ -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 %} 

mercurial