summaryrefslogtreecommitdiff
path: root/templates/categories.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/categories.html')
-rw-r--r--templates/categories.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/categories.html b/templates/categories.html
new file mode 100644
index 0000000..07f6290
--- /dev/null
+++ b/templates/categories.html
@@ -0,0 +1,16 @@
+{% extends "base.html" %}
+
+{% block title %}{{ SITENAME }} - Categories{% endblock %}
+
+{% block content %}
+
+<section id="content" class="body">
+ <h1>Categories for {{ SITENAME }}</h1>
+ <ul>
+ {% for category, articles in categories|sort %}
+ <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
+ {% endfor %}
+ </ul>
+</section>
+
+{% endblock %}