From d1bfe2eb0ba8836d4eef4ca5dd6e20611dc3a8c0 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Wed, 31 Jan 2024 18:55:36 +0000 Subject: changed Post tags() to return a Vec<&str> --- templates/blogpost-panel.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'templates') 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 @@

{{ blogpost.subject().unwrap_or("untitled") }}

{{ blogpost.published_at() }} permalink

-
{% for tag in blogpost.tags().clone() %}{{ tag }}{% +
{% for tag in blogpost.tags() %}{% let tag = tag.to_string() %}{{ tag + }}{% endfor %}
{{ blogpost.content()|safe }} -- cgit