mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Show image in header of an article
This commit is contained in:
parent
3381c5031b
commit
e7821f5aa8
1 changed files with 4 additions and 0 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue