From a10086f51cebdf30373b30e80f137ac8f52bdd9b Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Fri, 6 Oct 2023 12:02:46 +0200 Subject: [PATCH] Fix frontend editing for post content --- .../templates/djangocms_blog/includes/blog_item.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/djangocms_blog/templates/djangocms_blog/includes/blog_item.html b/djangocms_blog/templates/djangocms_blog/includes/blog_item.html index fa651fd3..445d8859 100644 --- a/djangocms_blog/templates/djangocms_blog/includes/blog_item.html +++ b/djangocms_blog/templates/djangocms_blog/includes/blog_item.html @@ -23,9 +23,9 @@

{{ postcontent.subtitle }}

{% endif %}
{% if not TRUNCWORDS_COUNT %} - {% render_model postcontent "abstract" "" "" "safe" %} + {% render_model postcontent.post "abstract" "" "" "safe" %} {% else %} - {% render_model postcontent "abstract" "" "" "truncatewords_html:TRUNCWORDS_COUNT|safe" %} + {% render_model postcontent.post "abstract" "" "" "truncatewords_html:TRUNCWORDS_COUNT|safe" %} {% endif %}