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

View File

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