Added the option to only show the description

Co-authored-by: Antonios Barotsis <a.barotsis@student.tudelft.nl>
Co-authored-by: Bkeinn <60117033+Bkeinn@users.noreply.github.com>
This commit is contained in:
Antonios Barotsis 2023-08-02 21:49:04 +03:00
parent 910e50b824
commit 4ce06e1894
3 changed files with 9 additions and 4 deletions

View file

@ -71,7 +71,8 @@
{%- for page in show_pages %}
<div class="post on-list">
{{ post_macros::header(page=page) }}
{{ post_macros::content(page=page, summary=true) }}
{{ post_macros::content(page=page, summary=true, show_only_description=page.extra.show_only_description | default(value=false)) }}
</div>
{% endfor -%}
<div class="pagination">