update article templeate to work with pelican cover image plugin if it is loaded
This commit is contained in:
parent
0f0ea7e824
commit
84803e570d
1 changed files with 6 additions and 0 deletions
|
@ -47,6 +47,12 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
{% if article.cover_image %}
|
||||||
|
<figure>
|
||||||
|
<img src="{{ article.cover_image_url }}" alt="Cover image">
|
||||||
|
<figcaption>Image by <a href="{{ article.cover_image_link }}">{{ article.cover_image_by }}</a></figcaption>
|
||||||
|
</figure>
|
||||||
|
{% endif %}
|
||||||
{{ article.content }}
|
{{ article.content }}
|
||||||
</div>
|
</div>
|
||||||
<div class="tag-cloud">
|
<div class="tag-cloud">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue