Fix show_only_description not to break page content

This commit is contained in:
Paweł Romanowski 2023-12-18 21:22:27 +01:00
parent 39d13a9a6a
commit 964fffab09
2 changed files with 2 additions and 1 deletions

View file

@ -15,6 +15,7 @@
</a>
</div>
{% else %}
{#- full content -#}
<div class="post-content">
{{ page.content | safe }}
</div>

View file

@ -7,7 +7,7 @@
{% block content %}
<div class="post">
{{ post_macros::header(page=page) }}
{{ post_macros::content(page=page, summary=true, show_only_description=false) }}
{{ post_macros::content(page=page, summary=false, show_only_description=false) }}
{{ post_macros::earlier_later(page=page) }}
</div>
{% endblock content %}