summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2023-03-29 00:06:12 +0800
committerMole Shang <[email protected]>2023-04-16 21:52:31 +0800
commit2ab777d5827681c6464ac9f705567bb773f6b660 (patch)
treedf872fcd1104d57aa0bd82306aced09c40df6c6c
parenta117775fb5ab6f41f2fb96ea5f8b2a456084d91a (diff)
downloadSeje2-2ab777d5827681c6464ac9f705567bb773f6b660.tar.gz
Seje2-2ab777d5827681c6464ac9f705567bb773f6b660.tar.bz2
Seje2-2ab777d5827681c6464ac9f705567bb773f6b660.zip
templates/home: allow rendering html in post.summary
-rw-r--r--templates/home.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/home.html b/templates/home.html
index a8dc282..6c0f0c1 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -9,7 +9,7 @@
<div class="post-title"><a href="{{ post.permalink }}" class="post-title-link">{{ post.title }}</a></div>
<div class="post-content">
{% if config.extra.seje_show_summary_only %}
- {{ post.summary }}
+ {{ post.summary | safe }}
<a href="{{ post.permalink }}" class="More">More</a>
{% else %}
{{ post.content | safe }}