From 5c0c8edb69990e1adf3923d28a6fd20ebfe36593 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Wed, 8 Feb 2023 22:51:51 +1100 Subject: [PATCH] Display summary for first news item --- www/conservancy/templates/news/pressrelease_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/conservancy/templates/news/pressrelease_list.html b/www/conservancy/templates/news/pressrelease_list.html index 9dfab489..7b0bac8b 100644 --- a/www/conservancy/templates/news/pressrelease_list.html +++ b/www/conservancy/templates/news/pressrelease_list.html @@ -13,7 +13,7 @@ {% ifnotequal news.number 1 %}

(Page {{ news.number }} of {{ news.paginator.num_pages }})

{% endifnotequal %} {% for pressr in news %} - {% if pressr.is_recent %} + {% if forloop.first %} {% include "news/pressrelease_partial.html" with pressr=pressr show="summary" only %} {% else %} {% include "news/pressrelease_partial.html" with pressr=pressr show="dateline" only %}