summaryrefslogtreecommitdiffstats
path: root/templates/tags.html
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-15 15:16:23 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2016-11-15 15:16:23 +0100
commitbda028e1db07d786ec0cf48feeae199679f07d70 (patch)
tree2f12358e308c41ed5d5f48e281f35c817e914522 /templates/tags.html
parent5f78f881b64e451c446f5f69b71a1dad0eae9fa3 (diff)
downloadkyblo-bda028e1db07d786ec0cf48feeae199679f07d70.tar.xz
Add support for entry tags
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'templates/tags.html')
-rw-r--r--templates/tags.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/tags.html b/templates/tags.html
new file mode 100644
index 0000000..b795e5e
--- /dev/null
+++ b/templates/tags.html
@@ -0,0 +1,12 @@
+{% extends 'layout.html' %}
+
+{% block content %}
+<section>
+ <h1>{{ title }}</h1>
+ <ul id="tag-list">
+ {% for tag in entries %}
+ <li><a href="tag-{{ tag }}.html">{{ tag }}</a> ({{ entries[tag] }})</li>
+ {% endfor %}
+ </ul>
+</section>
+{% endblock %}