From 4ce06e1894a3fea96b689e03bef5fa4098a05f46 Mon Sep 17 00:00:00 2001 From: Antonios Barotsis Date: Wed, 2 Aug 2023 21:49:04 +0300 Subject: [PATCH 1/2] Added the option to only show the description Co-authored-by: Antonios Barotsis Co-authored-by: Bkeinn <60117033+Bkeinn@users.noreply.github.com> --- templates/index.html | 3 ++- templates/macros/post.html | 8 ++++++-- templates/page.html | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/templates/index.html b/templates/index.html index 86cb0cd..280971e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -71,7 +71,8 @@ {%- for page in show_pages %}
{{ 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)) }}
{% endfor -%}