compare article and summary contents, not their lengths

This commit is contained in:
alxd 2018-10-16 13:05:24 +02:00
parent 4f9262302f
commit b0f9d0fd21

View file

@ -40,7 +40,7 @@
{% endif %}
{{ article.summary }}
<br>
{% if article.content|length > article.summary|length %}
{% if article.content != article.summary %}
<a class="btn" href="{{ SITEURL }}/{{ article.url }}{% if not DISABLE_URL_HASH %}#{{ article.slug }}{% endif %}">{{ _('Continue reading') }}</a>
{% endif %}
{% else %}