mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Show article images in the preview list on index
This commit is contained in:
parent
e7821f5aa8
commit
afaf4e8bfb
1 changed files with 4 additions and 0 deletions
|
|
@ -45,6 +45,10 @@
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{{ article.summary|striptags }}
|
{{ article.summary|striptags }}
|
||||||
</div>
|
</div>
|
||||||
|
{% if article.image %}
|
||||||
|
<img class="article-image img-fluid rounded" alt="article header image" itemprop="image"
|
||||||
|
src="{{ article.image }}" />
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
{% if not loop.last %}
|
{% if not loop.last %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue