From cb49bc5724081dc57600ca4bdbf12f186d024f49 Mon Sep 17 00:00:00 2001 From: Richard Thier Date: Wed, 5 Feb 2020 14:57:44 +0100 Subject: [PATCH] Added first version of subgal.html for exposure templates to test my future changes. Taken this from the original index page code --- .../exposure/templates/sections/subgal.html | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 prosopopee/themes/exposure/templates/sections/subgal.html diff --git a/prosopopee/themes/exposure/templates/sections/subgal.html b/prosopopee/themes/exposure/templates/sections/subgal.html new file mode 100644 index 0000000..a70db69 --- /dev/null +++ b/prosopopee/themes/exposure/templates/sections/subgal.html @@ -0,0 +1,41 @@ +
+
+ {% 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 %} +
+ {% endfor %} +
+