From 0999b5e71027e055f1f118f09ee4dc4ff61a49c4 Mon Sep 17 00:00:00 2001 From: thunderbottom Date: Mon, 12 Aug 2024 19:49:53 +0530 Subject: [PATCH] chore: use post summary if it exists --- templates/blog.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/blog.html b/templates/blog.html index 6fe2c1f..479f788 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -21,7 +21,9 @@ {% endif %} + {% if post.summary %}

{{ post.summary | striptags | replace(from="[link]", to="") | safe }}

+ {% endif %} {% if loop.last %}