From 2547a775921499e25c42b06e0f477bdc1274e53c Mon Sep 17 00:00:00 2001 From: rktjmp <171296998+rktjump@users.noreply.github.com> Date: Tue, 15 Apr 2025 10:59:42 -0700 Subject: [PATCH] enable markdown in post summaries --- templates/macros/list_posts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/macros/list_posts.html b/templates/macros/list_posts.html index 3c51b5b..0b3c2ee 100644 --- a/templates/macros/list_posts.html +++ b/templates/macros/list_posts.html @@ -144,7 +144,7 @@ {% if post.description %}
{{ post.description }}
{% elif post.summary %} -{{ post.summary | striptags | trim_end_matches(pat=".") | safe }}…
+{{ post.summary | markdown(inline=true) | trim_end_matches(pat=".") | safe }}…
{% endif %} {{ macros_translate::translate(key="read_more", default="Read more", language_strings=language_strings) }} →