Merge pull request #29 from drgarcia1986/master

better support for `summary` plugin
This commit is contained in:
Gilson Filho 2016-02-21 21:38:22 -03:00
commit 997d9583af
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 %}