summaryrefslogtreecommitdiff
path: root/templates/tags.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tags.html')
-rw-r--r--templates/tags.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/tags.html b/templates/tags.html
new file mode 100644
index 0000000..e788ce5
--- /dev/null
+++ b/templates/tags.html
@@ -0,0 +1,30 @@
+{% include "header.html" %}
+
+<h1>
+<a href=http://blaise.zone>blaise</a>-<a href="../">blog</a>/tags
+</h1>
+
+<hr>
+
+{% for tag in tags %}
+
+<h1 id={{ tag }}><a href="#{{ tag }}">{{ tag }}</a></h1>
+
+<p>
+{% for post in posts %}
+ {% if tag in post.tags %}
+ {{ post.date }}
+ <a href=./{{ post.path }}>{{ post.title }}</a>
+ {% for tag_ in post.tags %}
+ {% if tag_ != tag %}
+ <a href="./tags/#{{ tag_ }}" style="color:#b294bb;font-style:italic;">#{{ tag_ }}</a>
+ {% endif %}
+ {% endfor %}
+ <br>
+ {% endif %}
+{% endfor %}
+</p>
+
+{% endfor %}
+
+{% include "footer.html" %}