diff --git a/sigal/themes/galleria/templates/album.html b/sigal/themes/galleria/templates/album.html index 001b3a2..8b04f03 100644 --- a/sigal/themes/galleria/templates/album.html +++ b/sigal/themes/galleria/templates/album.html @@ -3,21 +3,17 @@ {% block extra_head %} {# We will always want to show the first image when we're on an album page #} {# Start loading now for faster document complete instead of waiting for js to load it #} - {% if album.medias %} - {% endif %} - {% if settings.show_map and album.show_map %} {% endif %} {% endblock %} {% block content %} - {% if album.medias %}
{% if settings.show_map and album.show_map %} Fullscreen (f)
- - {% endif %} + {% if album.zip %}
@@ -68,7 +63,7 @@ {%- endif -%} {% endif %} {%- endmacro %} - {% if album.medias %} + {% if settings.show_map and album.show_map %} @@ -246,10 +241,9 @@ Galleria.configure({ imageCrop: false, transition: "fade", - thumbnails: 'lazy' + thumbnails: "lazy" }); Galleria.run("#gallery", {dataSource: data}); - {% endif %} {% endblock %} diff --git a/sigal/themes/galleria/templates/album_list.html b/sigal/themes/galleria/templates/album_list.html index 8cc7d8c..9670e21 100644 --- a/sigal/themes/galleria/templates/album_list.html +++ b/sigal/themes/galleria/templates/album_list.html @@ -24,4 +24,10 @@ {% endfor %}
+ + {% if album.description %} +
+ {{ album.description }} +
+ {% endif %} {% endblock %}