feat: enable markdown rendering for post descriptions

This commit is contained in:
welpo 2025-04-26 19:47:33 +02:00
parent d19d8ed4ba
commit f1c7188a04
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6

View file

@ -142,7 +142,7 @@
<div class="description">
{% if post.description %}
<p>{{ post.description }}</p>
<p>{{ post.description | markdown(inline=true) | safe }}</p>
{% elif post.summary %}
<p>{{ post.summary | markdown(inline=true) | trim_end_matches(pat=".") | safe }}…</p>
{% endif %}