better support for summary plugin

This commit is contained in:
Diego Garcia 2016-02-14 11:52:23 -02:00
parent 2269d0f506
commit e6ec8247eb

View File

@ -34,6 +34,8 @@
</a>
{% if SHOW_FULL_ARTICLE %}
{{ article.content }}
{% elif article.has_summary %}
{{ article.summary }}
{% elif article.summary %}
{{ article.summary|truncate(140) }}
{% endif %}