diff options
-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 %} |