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 %}
|
{% endif %}
|
||||||
{{ article.summary }}
|
{{ article.summary }}
|
||||||
<br>
|
<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>
|
<a class="btn" href="{{ SITEURL }}/{{ article.url }}{% if not DISABLE_URL_HASH %}#{{ article.slug }}{% endif %}">{{ _('Continue reading') }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in a new issue