summaryrefslogtreecommitdiff
path: root/templates/blog-page.html
diff options
context:
space:
mode:
authorlsof <lsof@mailbox.org>2024-09-15 12:30:02 +0200
committerlsof <lsof@mailbox.org>2024-09-15 12:30:02 +0200
commitdd4efd4f8e41dafcc522fd09a78e27baeb9bd2ab (patch)
treea054c4e588cc705a9fce55eff7173398eeb67fb4 /templates/blog-page.html
parentbe3c967c2dac40a0ea573a443ef858d8cd4aa8ba (diff)
blog: add taxonomies (tags)
Diffstat (limited to 'templates/blog-page.html')
-rw-r--r--templates/blog-page.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/blog-page.html b/templates/blog-page.html
index ddf34f0..51f8aba 100644
--- a/templates/blog-page.html
+++ b/templates/blog-page.html
@@ -5,12 +5,17 @@
{% block content %}
<nav class="navbar">
- <a href="/">Home</a> <a href="../">Go Back</a>
+ <a href="/">Home</a>
</nav>
<h1 class="title">
{{ page.title }}
</h1>
<p class="subtitle">{{ page.date | date(format="%-d %b %Y") }}</p>
+<p class="subtitle">
+ {% for tag in page.taxonomies.tags %}
+ <a href="/tags/{{ tag | safe}}">#{{ tag }}</a>
+ {% endfor %}
+</p>
<hr>
{{ page.content | safe }}