From e8906dba0dceb70260f0d23aaf53d4e734d1869c Mon Sep 17 00:00:00 2001 From: mat ess Date: Fri, 16 Sep 2022 12:57:45 -0400 Subject: [PATCH] Reorganize post listing --- templates/macros/macros.html | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/templates/macros/macros.html b/templates/macros/macros.html index 2e9603c..24d0016 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -10,6 +10,16 @@ {{page.title}} + {% if page.description %} +
+ {{ page.description }} +
+ {% elif page.summary %} +
+ {{ page.summary }}… +
+ {% endif %} +
posted on
@@ -17,19 +27,6 @@ {{ post_macros::tags(page=page) }}
-
- {% if page.description %} - {{ page.description }} - {% elif page.summary %} - {{ page.summary }}… - {% else %} - {% set hide_read_more = true %} - {% endif %} -
- - {% if not hide_read_more %} - Read more ⟶ - {% endif %} {% endfor -%}