From b089fcb502b790188a811362edf5e184d9d04155 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Tue, 1 Nov 2016 12:22:14 +0100 Subject: [PATCH] [mod] simplify template --- .../templates/sections/paragraph.html | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/prosopopee/themes/exposure/templates/sections/paragraph.html b/prosopopee/themes/exposure/templates/sections/paragraph.html index 0620ea2..8c9aba1 100644 --- a/prosopopee/themes/exposure/templates/sections/paragraph.html +++ b/prosopopee/themes/exposure/templates/sections/paragraph.html @@ -1,14 +1,18 @@ {% if section.background or section.color %} -
+
{% endif %} +
- {% if section.title %} -

{{ section.title }}

- {% else %} -
- {% endif %} -

{{ section.text }}

+ + {% if section.title %} +

{{ section.title }}

+ {% else %} +
+ {% endif %} + +

{{ section.text }}

+ {% if section.background or section.color %} -
+
{% endif %}