From 813e1609d79f6c8a46d6107d618d930c5c8fd32f Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Thu, 1 Nov 2018 18:59:32 +0100 Subject: [PATCH] [fix] some little stuff --- prosopopee/themes/exposure/templates/index.html | 7 +++++++ .../exposure/templates/sections/bordered-picture.html | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/prosopopee/themes/exposure/templates/index.html b/prosopopee/themes/exposure/templates/index.html index 4447627..af7615f 100644 --- a/prosopopee/themes/exposure/templates/index.html +++ b/prosopopee/themes/exposure/templates/index.html @@ -26,6 +26,9 @@ {% block content %}
{% for galleries_line in galleries|reverse|batch(3)|reverse %} + {% if loop.index is divisibleby 3 or loop.index is divisibleby 2 %} + {% set no_big_gallery_cover = true %} + {% endif %}
{% for gallery in galleries_line|reverse %}{% endfor %} diff --git a/prosopopee/themes/exposure/templates/sections/bordered-picture.html b/prosopopee/themes/exposure/templates/sections/bordered-picture.html index d1ab5cf..f642b47 100644 --- a/prosopopee/themes/exposure/templates/sections/bordered-picture.html +++ b/prosopopee/themes/exposure/templates/sections/bordered-picture.html @@ -36,7 +36,7 @@ - + {% if caption %}