From 8e85404e4d50fab9c0563849c5c20e85b1fd3036 Mon Sep 17 00:00:00 2001 From: eclipse Date: Wed, 26 Feb 2025 22:40:52 +0100 Subject: [PATCH] added featured image --- theme/templates/page.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/theme/templates/page.html b/theme/templates/page.html index 1e0f272..9eb4a26 100644 --- a/theme/templates/page.html +++ b/theme/templates/page.html @@ -10,8 +10,15 @@ {% endblock content_header %} {% block content_body %} -
-{{ page.content }} +
+ {% if page.featured_image is defined %} + + {% endif %} + {{ page.content }}
{% endblock content_body %}