Index 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 21:58:29 +02:00 committed by GitHub
parent 8ed7c50492
commit 9aeade2d23
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 %}
<p>{{ article.summary }}</p>
<div>{{ article.summary }}</div>
{% if article.content != article.summary %}
<br>
<a class="btn"