Skip to content

Commit

Permalink
Fix frontend editing for post content
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Oct 6, 2023
1 parent 0339183 commit a10086f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ <h4>{{ postcontent.subtitle }}</h4>
{% endif %}
<div class="blog-lead">
{% 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 %}
</div>
<footer class="read-more">
Expand Down

0 comments on commit a10086f

Please sign in to comment.