diff --git a/newsbox/templates/newsbox/inc/list-item.html b/newsbox/templates/newsbox/inc/list-item.html index f11f1026f5fb7caf8c7e63f8c6a3725ebf01560f..4f90588c3d567543483f3a48c95368e46a2ff63f 100644 --- a/newsbox/templates/newsbox/inc/list-item.html +++ b/newsbox/templates/newsbox/inc/list-item.html @@ -18,7 +18,7 @@ <div class="summary"> {% with summary_max_words=summary_max_words|default:50 summary=summary|default:object.newsbox_summary|default:object.newsbox_body %} {% if summary_max_words and summary_max_words != '0' %} - {{ summary_max_words }}{{ summary|truncatewords_html:summary_max_words }} + {{ summary|truncatewords_html:summary_max_words }} {% else %} {{ summary }} {% endif %}