diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2021-09-30 19:02:13 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2021-09-30 19:02:13 +0100 |
commit | bec78b5efd91dfd9e5ba6f9487928a94c1b2cc13 (patch) | |
tree | f6c4ec33e72e306ab3a10a7d57b4a2cd0a99b5aa /templates | |
parent | f152a3cefec37a7f7fbd867eed6cd4337dee99cf (diff) | |
download | the-tk.com-bec78b5efd91dfd9e5ba6f9487928a94c1b2cc13.tar.gz the-tk.com-bec78b5efd91dfd9e5ba6f9487928a94c1b2cc13.tar.xz the-tk.com-bec78b5efd91dfd9e5ba6f9487928a94c1b2cc13.zip |
Include all tags in post list
Diffstat (limited to 'templates')
-rw-r--r-- | templates/blog.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/blog.html b/templates/blog.html index 87a9cd9..c32451b 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -7,4 +7,9 @@ <ul class="postlist">{% for post in page.posts %} <li><time>{{ post.date|datefmt }}</time> | <a href="{{ '/' + post.location }}">{{ post.title }}</a>{% endfor %} </ul> +{% if page.tags %} +<ul class="taglist"> + <li>All tags:</li>{% for tag in page.tags %} + <li><a href="{{ '/tag/' + tag + '.html' }}">{{ tag }}</a></li>{% endfor %} +</ul>{% endif %} {% endblock %} |