From a72ff8377cdf50963bcfcb8caeef79fe172b024d Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Fri, 14 May 2021 08:16:14 -0700 Subject: [PATCH] Try two press releases at a time on the front page. --- www/conservancy/templates/frontpage.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/conservancy/templates/frontpage.html b/www/conservancy/templates/frontpage.html index c4d62b71..a608914b 100644 --- a/www/conservancy/templates/frontpage.html +++ b/www/conservancy/templates/frontpage.html @@ -26,7 +26,7 @@

[RSS] Recent News

-{% for pressr in press_releases|slice:":1" %} +{% for pressr in press_releases|slice:":2" %} {% if forloop.first or pressr.pub_date|date_within_past_days:90 %} {% if not forloop.first %}
{% endif %} {% include "news/pressrelease_partial.html" with pressr=pressr show="summary" only %}