summaryrefslogtreecommitdiffstats
path: root/kyrias_website/templates/tags.html
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-06-09 21:02:27 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-09 21:02:27 +0200
commitc0ccec669363d7757403d2c50c8e6a0934307b04 (patch)
treebe489d518d7a68fb6da4ae8ee8fafe5d8597ddc5 /kyrias_website/templates/tags.html
downloadkyrias-website-c0ccec669363d7757403d2c50c8e6a0934307b04.tar.xz
Initial commit
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'kyrias_website/templates/tags.html')
-rw-r--r--kyrias_website/templates/tags.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/kyrias_website/templates/tags.html b/kyrias_website/templates/tags.html
new file mode 100644
index 0000000..a553523
--- /dev/null
+++ b/kyrias_website/templates/tags.html
@@ -0,0 +1,19 @@
+{% extends 'base.html' %}
+
+{% block content %}
+<section>
+ <h1>Tags</h1>
+ {% for tag in tags %}
+ <div id="{{ tag }}">
+ <h2>{{ tag }} <a class="permalink" href="#{{ tag }}" title="Link to this tag">§</a></h2>
+
+ <ul id="tag-list">
+ {% for entry in tags[tag] %}
+ <li>{{ entry.meta.date }} — <a href="{{ url_for('entry', name=entry.path) }}">{{ entry.title }}</a></li>
+ {% endfor %}
+ </ul>
+ </div>
+ {% endfor %}
+</section>
+{% endblock %}
+