Show image in header of an article

This commit is contained in:
Michiel Scholten 2019-11-23 21:20:55 +01:00
commit e7821f5aa8

View file

@ -42,6 +42,10 @@
</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 }}