chore: use post summary if it exists

This commit is contained in:
thunderbottom 2024-08-12 19:49:53 +05:30
parent 6cbe0a532b
commit 0999b5e710

View File

@ -21,7 +21,9 @@
<img src="{{ resize_image(path= basepath ~ post.extra.image,
width=1600, height=1600, op="fit" ) }}" />
{% endif %}
{% if post.summary %}
<p>{{ post.summary | striptags | replace(from="[link]", to="") | safe }}</p>
{% endif %}
</div>
{% if loop.last %}