From 7cbdda939742201d0b4660cbc4a99b046f5b5627 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 18 Apr 2024 17:53:47 +0100 Subject: [PATCH] Fix listing item images --- website/blog/templates/blog/blog_post_page.html | 2 +- website/search/templates/search/search_results.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/blog/templates/blog/blog_post_page.html b/website/blog/templates/blog/blog_post_page.html index 3b0c1fb..79a0373 100644 --- a/website/blog/templates/blog/blog_post_page.html +++ b/website/blog/templates/blog/blog_post_page.html @@ -16,7 +16,7 @@ {% for page in page.get_similar_posts %} {% block listing_item %} - {% include "common/listing-item.html" %} + {% include "common/listing-item.html" with show_listing_images=True %} {% endblock %} {% endfor %} diff --git a/website/search/templates/search/search_results.html b/website/search/templates/search/search_results.html index 6484f0e..1787771 100644 --- a/website/search/templates/search/search_results.html +++ b/website/search/templates/search/search_results.html @@ -1,7 +1,7 @@ {% load wagtailadmin_tags %} {% for page in results %} - {% include "common/listing-item.html" with breadcrumbs=True %} + {% include "common/listing-item.html" with breadcrumbs=True show_listing_images=True %} {% endfor %} {% if not results and page_num == 1 %}