From 67c3b7e5f5f4af0e424ada74f957ba7a3a2ad79a Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Wed, 9 Dec 2015 05:23:40 +0100 Subject: [PATCH] [enh] handle text for full-picture --- templates/sections/full-picture.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/templates/sections/full-picture.html b/templates/sections/full-picture.html index ea2dd6d..9fc4707 100644 --- a/templates/sections/full-picture.html +++ b/templates/sections/full-picture.html @@ -1,10 +1,12 @@ {{ helpers.copy_image(section.image) }}
-
-
-

Some title on the picture

-

Some subtitle

-
march 3th 2015
+ {% if section.text %} +
+
+

{{ section.text.title }}

+

{{ section.text.sub_title }}

+
{{ section.text.date }}
+
-
+ {% endif %}