From a4481dc007ff202882b783ed4b36e03a8b4c1d05 Mon Sep 17 00:00:00 2001 From: B Stack Date: Mon, 1 Feb 2021 09:07:23 -0500 Subject: initial commit --- bgstack15-gallery-theme/templates/album.html | 84 ++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 bgstack15-gallery-theme/templates/album.html (limited to 'bgstack15-gallery-theme/templates/album.html') diff --git a/bgstack15-gallery-theme/templates/album.html b/bgstack15-gallery-theme/templates/album.html new file mode 100644 index 0000000..1114e40 --- /dev/null +++ b/bgstack15-gallery-theme/templates/album.html @@ -0,0 +1,84 @@ +{% extends "base.html" %} +{% block content %} + {% set numbers = ["one", "two", "three", "four", "five", "six", "seven", "eight", "nine"] %} + {% set column_size = settings.colorbox_column_size %} + {% set nb_columns = (9 / column_size)|int %} + {% set column_size_t = numbers[column_size] %} + + {% macro img_description(media) -%} + {% if media.big %} data-big="{{ media.big_url }}"{% endif %} + {% if media.exif %} + {% if media.exif.datetime %} + data-date=", {{ media.exif.datetime }}" + {% endif %} + {% endif %} + {%- endmacro %} + + + + {% if album.zip %} +
+

Download ZIP

+
+ {% endif %} + +{% endblock %} + +{% block footer %} + + + + + {% if 'sigal.plugins.media_page' in settings.plugins %} + + {% else %} + + {% endif %} +{% endblock %} -- cgit