From a72ff8377cdf50963bcfcb8caeef79fe172b024d 2021-05-14 15:16:31 From: Bradley M. Kuhn Date: 2021-05-14 15:16:31 Subject: [PATCH] Try two press releases at a time on the front page. --- diff --git a/www/conservancy/templates/frontpage.html b/www/conservancy/templates/frontpage.html index c4d62b71c653342b61271f53e1645fc2313e9e72..a608914b26ac252c7e84d620d539cb817ed2bdd2 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 %}