From 84803e570db95a392e8bfc404830cc2aa8a9b2e3 Mon Sep 17 00:00:00 2001 From: Ben McNeill Date: Sat, 11 Jul 2020 08:40:12 -0600 Subject: [PATCH] update article templeate to work with pelican cover image plugin if it is loaded --- templates/article.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/article.html b/templates/article.html index e4aaddd..abb6cdd 100644 --- a/templates/article.html +++ b/templates/article.html @@ -47,6 +47,12 @@ {% endif %}
+ {% if article.cover_image %} +
+ Cover image +
Image by {{ article.cover_image_by }}
+
+ {% endif %} {{ article.content }}