diff options
| author | 2024-09-15 12:30:02 +0200 | |
|---|---|---|
| committer | 2024-09-15 12:30:02 +0200 | |
| commit | dd4efd4f8e41dafcc522fd09a78e27baeb9bd2ab (patch) | |
| tree | a054c4e588cc705a9fce55eff7173398eeb67fb4 /templates/taxonomy_single.html | |
| parent | be3c967c2dac40a0ea573a443ef858d8cd4aa8ba (diff) | |
blog: add taxonomies (tags)
Diffstat (limited to 'templates/taxonomy_single.html')
| -rw-r--r-- | templates/taxonomy_single.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html new file mode 100644 index 0000000..9f93975 --- /dev/null +++ b/templates/taxonomy_single.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} + +{% block title %}#{{ term.name }}{% endblock title %} + +{% block content %} +<nav class="navbar"> + <a href="/">Home</a> <!--a href="../">Go Back</a--!> +</nav> +<h1 class="title"> + #{{ term.name }} +</h1> +<ul> + {% for page in term.pages %} + <li><a href="{{ page.permalink | safe }}">{{ page.title }}</a> ({{ page.date }})</li> + {% endfor %} +</ul> +{% endblock content %} |