From b3d9b41f132e987e56e9e97ec6f518decc2a7100 Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Fri, 4 Nov 2016 15:43:17 +0100 Subject: [PATCH] optionnal fixed background for full-picture --- docs/sections.rst | 6 ++++++ .../themes/exposure/templates/sections/full-picture.html | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/sections.rst b/docs/sections.rst index e219b99..d3c4384 100644 --- a/docs/sections.rst +++ b/docs/sections.rst @@ -46,6 +46,12 @@ Without text:: - type: full-picture image: big_picture.jpg + +If you want fixed backgroup use can use this optionnal option (only with the exposure theme):: + + - type: full-picture + fixed: true + Bordered picture ________________ diff --git a/prosopopee/themes/exposure/templates/sections/full-picture.html b/prosopopee/themes/exposure/templates/sections/full-picture.html index 656d44d..7b88dc8 100644 --- a/prosopopee/themes/exposure/templates/sections/full-picture.html +++ b/prosopopee/themes/exposure/templates/sections/full-picture.html @@ -26,7 +26,7 @@ {% else %} {% set image = Image(section.image) %} {{ image.copy() }} -
+
{% if section.text %}