rename summary to headline

This commit is contained in:
bkfox
2017-05-15 16:52:58 +02:00
parent 8cc3caa16b
commit e7700a3896
11 changed files with 27 additions and 27 deletions

View File

@ -31,7 +31,7 @@ is just a bit different.
<div class="flex_item">
<h3 class="title">{{ item.title }}</h3>
{% if item.summary %}<div class="summary">{{ item.summary }}</div>{% endif %}
{% if item.headline %}<div class="headline">{{ item.headline }}</div>{% endif %}
{% if item.info %}
<span class="info">{{ item.info|safe }}</span>

View File

@ -3,7 +3,7 @@ Configurable item to be put in a list. Support standard Publication or
ListItem instance.
Options:
* item: item to render. Fields: title, summary, cover, url, date, info, css_class
* item: item to render. Fields: title, headline, cover, url, date, info, css_class
* item_date_format: format passed to the date filter instead of default one. If
it is an empty string, do not print the date.
* item_big_cover: cover should is big instead of thumbnail (width: 600)