-
-
-
-
-
- diff --git a/sigal/themes/colorbox/static/css/style.css b/sigal/themes/colorbox/static/css/style.css index ce48612..707f47c 100644 --- a/sigal/themes/colorbox/static/css/style.css +++ b/sigal/themes/colorbox/static/css/style.css @@ -32,6 +32,9 @@ header h1 a { position: absolute; bottom: 40px; } +.sidebar footer span { + display: block; +} .thumbnail { text-align: center; diff --git a/sigal/themes/colorbox/templates/album.html b/sigal/themes/colorbox/templates/album.html index baadc75..a1a7d06 100644 --- a/sigal/themes/colorbox/templates/album.html +++ b/sigal/themes/colorbox/templates/album.html @@ -1,2 +1,82 @@ - -{% extends "album_list.html" %} +{% 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 %} + +
- Download ZIP +
+
+
+
+