mirror of
https://github.com/welpo/tabi.git
synced 2025-10-10 23:38:53 +02:00
✨ feat: enable markdown rendering for post descriptions
This commit is contained in:
parent
d19d8ed4ba
commit
f1c7188a04
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue