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