Article summary improvement

Article summary improvement, in case the summary consist of only 1 line.
This patch takes care that the button "Continue Reading" is shown under the article, instead of against the article.
It will be located at the same location compared to multi-line summaries.
This commit is contained in:
Richard Bos 2021-07-26 16:49:46 +02:00 committed by GitHub
parent 21dd3f677b
commit 8ed7c50492
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@
{% if article.featured_image %}
<img src="{{ article.featured_image }}">
{% endif %}
{{ article.summary }}
<p>{{ article.summary }}</p>
{% if article.content != article.summary %}
<br>
<a class="btn"