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 %}