mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
enable markdown in post summaries
This commit is contained in:
parent
b9b76799eb
commit
2547a77592
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@
|
|||
{% if post.description %}
|
||||
<p>{{ post.description }}</p>
|
||||
{% elif post.summary %}
|
||||
<p>{{ post.summary | striptags | trim_end_matches(pat=".") | safe }}…</p>
|
||||
<p>{{ post.summary | markdown(inline=true) | trim_end_matches(pat=".") | safe }}…</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<a class="readmore" href="{{ post.permalink }}">{{ macros_translate::translate(key="read_more", default="Read more", language_strings=language_strings) }} <span class="arrow">→</span></a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue