Changeset - a72ff8377cdf
[Not reviewed]
0 1 0
Bradley M. Kuhn - 30 days ago 2021-05-14 15:16:31
bkuhn@sfconservancy.org
Try two press releases at a time on the front page.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/frontpage.html
Show inline comments
...
 
@@ -26,7 +26,7 @@
 

	
 
<div class="column">
 
<h2><a href="/feeds/news/" class="feedlink"><img src="/img/feed-icon-14x14.png" alt="[RSS]"/></a> <a href="/news/">Recent News</a></h2>
 
{% 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 %}<hr class="clear">{% endif %}
 
    {% include "news/pressrelease_partial.html" with pressr=pressr show="summary" only %}
0 comments (0 inline, 0 general)