compare article and summary contents, not their lengths
This commit is contained in:
parent
4f9262302f
commit
b0f9d0fd21
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue