From 88ddb3566b04f6cbfe1d2247e5960d6405e94bad Mon Sep 17 00:00:00 2001 From: Jeff MacKinnon Date: Sun, 13 Nov 2022 17:03:14 -0400 Subject: [PATCH] Minor edits to remove summary for posts with image --- templates/include/paginated_posts.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/include/paginated_posts.html b/templates/include/paginated_posts.html index f04a94d..cce80e7 100644 --- a/templates/include/paginated_posts.html +++ b/templates/include/paginated_posts.html @@ -1,8 +1,9 @@
{% for article in articles_page.object_list %}
- + {% set testing = 1 %} {% if article.photo_image %} + {% set testing = 0 %} {% endif %} {% if (article.category != MICROBLOG ) %} @@ -10,7 +11,8 @@

{{ article.title }}

{% endif %} - {% if (article.category != MICROBLOG ) %} + {% if (article.category != MICROBLOG)%} + {% if (testing == 1) %}
{{ article.summary }}
{% if INCLUDECATEGORY == True %} {% if article.category %} @@ -19,6 +21,7 @@
{% endif %} {% endif %} + {% endif %} {% if MOREBUTTON == True %}