Try two press releases at a time on the front page.
This commit is contained in:
parent
24f7b3ec74
commit
a72ff8377c
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue