diff --git a/prosopopee/themes/exposure/templates/sections/bordered-picture.html b/prosopopee/themes/exposure/templates/sections/bordered-picture.html index c10c479..d042e20 100644 --- a/prosopopee/themes/exposure/templates/sections/bordered-picture.html +++ b/prosopopee/themes/exposure/templates/sections/bordered-picture.html @@ -1,16 +1,18 @@ {% if section.image.type == "video" %} -{% set video = Video(section.image) %} -{% set caption = section.text %} -{{ video.copy() }} + {% set video = Video(section.image) %} + {% set caption = section.text %} + {{ video.copy() }} {% else %} -{% set image = Image(section.image) %} -{% set caption = section.text %} -{{ image.copy() }} + {% set image = Image(section.image) %} + {% set caption = section.text %} + {{ image.copy() }} {% endif %} + {% if section.background %} -