better support for `summary` plugin

This commit is contained in:
Diego Garcia 2016-02-14 11:52:23 -02:00
parent 2269d0f506
commit e6ec8247eb
1 changed files with 2 additions and 0 deletions

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 %}