diff options
Diffstat (limited to '')
-rw-r--r-- | templates/blogpost-panel.html.tera | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/blogpost-panel.html.tera b/templates/blogpost-panel.html.tera index 061d87b..64f064c 100644 --- a/templates/blogpost-panel.html.tera +++ b/templates/blogpost-panel.html.tera @@ -1,7 +1,7 @@ <div class="panel content blogpost"> <h1 class="title">{{ blogpost.subject }}</h1> <h2 class="created-at">{{ blogpost.created_at }} <a href="/blog/{{ blogpost.data.name }}">permalink</a></h2> - <div class="tags">{% for tag in blogpost.tags %}<a class="tag" href="/tag/{{ tag }}">{{ tag }}</a>{% endfor %}</div> + <div class="tags">{% for tag in blogpost.tags %}<a class="tag {% if filter_hashset %}{% if tag in filter_hashset %}active{% endif %}{% endif %}" href="/blog?filter={{ tag }}">{{ tag }}</a>{% endfor %}</div> <div class="blogpost-content"> {{ blogpost.render }} </div> |