Merge pull request #29 from drgarcia1986/master
better support for `summary` plugin
This commit is contained in:
commit
997d9583af
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user