aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/blogpost-panel.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/blogpost-panel.html b/templates/blogpost-panel.html
index 6375012..45117b6 100644
--- a/templates/blogpost-panel.html
+++ b/templates/blogpost-panel.html
@@ -1,8 +1,9 @@
<div class="panel content blogpost">
<h1 class="title">{{ blogpost.subject().unwrap_or("untitled") }}</h1>
<h2 class="created-at">{{ blogpost.published_at() }} <a href="/blog/{{ blogpost.file_name() }}">permalink</a></h2>
- <div class="tags">{% for tag in blogpost.tags().clone() %}<a
- class="tag {% if filter_tags.contains(tag) %}active{% endif %}" href="/blog?filter={{ tag }}">{{ tag }}</a>{%
+ <div class="tags">{% for tag in blogpost.tags() %}{% let tag = tag.to_string() %}<a
+ class="tag {% if filter_tags.contains(tag) %}active{% endif %}" href="/blog?filter={{ tag }}">{{ tag
+ }}</a>{%
endfor %}</div>
<div class="blogpost-content">
{{ blogpost.content()|safe }}