From 5e9ba3e3bd09685d2cc8841277a8e07fa20394e0 Mon Sep 17 00:00:00 2001 From: thomasdn Date: Thu, 19 Aug 2021 16:38:17 +0000 Subject: [PATCH] Update album_items.html --- sigal/themes/galleria/templates/album_items.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sigal/themes/galleria/templates/album_items.html b/sigal/themes/galleria/templates/album_items.html index d8cae58..ded498c 100644 --- a/sigal/themes/galleria/templates/album_items.html +++ b/sigal/themes/galleria/templates/album_items.html @@ -23,6 +23,7 @@ {% endif %} {% block late_js %} + {% if album.medias %} {% macro img_description(media) -%} {%- if media.big -%}Full size{%- endif -%} {# clean up tags and whitespace, including newlines, in the description #} @@ -228,4 +229,5 @@ Galleria.run("#gallery", {dataSource: data}); + {% endif %} {% endblock %}