Fix summary problems.

This commit is contained in:
Alexandre Vicenzi 2016-02-15 22:45:54 -02:00
parent ef437db82b
commit fe4d5a4ff2

View file

@ -19,7 +19,7 @@
</p>
</header>
<div>
{% if summarise or article.metadata['summary'] or article.metadata['summarize'] %}
{% if summarise or article.metadata['summary'] or SUMMARY_MAX_LENGTH %}
{{ article.summary }}
<a class="btn" href="{{ SITEURL }}/{{ article.url }}#{{ article.slug }}">Continue reading</a>
{% else %}