aboutsummaryrefslogtreecommitdiffstats
path: root/Peli-Kiera/templates/categories.html
diff options
context:
space:
mode:
authoringirtere@gmail.com <ingirtere@gmail.com>2018-12-01 17:05:01 +1100
committeringirtere@gmail.com <ingirtere@gmail.com>2018-12-01 17:05:01 +1100
commit83985d6fc6915e5012c8721c67c944bf40f7e871 (patch)
tree8670609518e20ecf80082da4094e1f4787fa3c88 /Peli-Kiera/templates/categories.html
parentb0d1a0b1facf05805e09c7e7994ca225cd55bcea (diff)
downloadpelican-themes-83985d6fc6915e5012c8721c67c944bf40f7e871.tar.gz
Add Peli-Kiera theme
Diffstat (limited to 'Peli-Kiera/templates/categories.html')
-rw-r--r--Peli-Kiera/templates/categories.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/Peli-Kiera/templates/categories.html b/Peli-Kiera/templates/categories.html
new file mode 100644
index 0000000..faaac26
--- /dev/null
+++ b/Peli-Kiera/templates/categories.html
@@ -0,0 +1,17 @@
+{% extends "base.html" %}
+
+{% block title %}{{ SITENAME }} - Categories{% endblock %}
+
+{% block content %}
+ <main>
+ <section id="list">
+ <h2>Number of Articles for Category </h2>
+ <ul>
+ {% for category, articles in categories|sort %}
+ <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
+ {% endfor %}
+ </ul>
+ </section>
+ </main>
+{% endblock %}
+