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 %}