Display summary for first news item
This commit is contained in:
parent
0e03baf3c3
commit
5da27dd12a
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
{% ifnotequal news.number 1 %}<p>(Page {{ news.number }} of {{ news.paginator.num_pages }})</p>{% 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 %}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue