This commit is contained in:
Michiel Scholten 2021-06-01 10:53:17 +03:00 committed by GitHub
commit 504f94097a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View file

@ -56,6 +56,12 @@
</li>
{% endif %}
</ul>
{#
{% if article.image %}
<img class="article-image img-fluid rounded" alt="article header image" itemprop="image"
src="{{ article.image }}" />
{% endif %}
#}
</header>
<div class="content">
{{ article.content }}

View file

@ -45,6 +45,10 @@
<div class="content">
{{ article.summary|striptags }}
</div>
{% if article.image %}
<img class="article-image img-fluid rounded" alt="article header image" itemprop="image"
src="{{ article.image }}" />
{% endif %}
</div>
</article>
{% if not loop.last %}