remove unnecessary whitespace if there's no Continue Reading button

This commit is contained in:
alxd 2018-10-16 13:05:58 +02:00
parent b0f9d0fd21
commit 290f94f4de

View file

@ -39,8 +39,8 @@
<img src="{{ article.featured_image }}"> <img src="{{ article.featured_image }}">
{% endif %} {% endif %}
{{ article.summary }} {{ article.summary }}
<br>
{% if article.content != article.summary %} {% if article.content != article.summary %}
<br>
<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 %}