From 9cd25ea1ee3917504fbb546e429eda5e7a367c1c Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Sun, 11 Dec 2022 17:55:04 +0100 Subject: [PATCH] Don't show the galleria container if there are no medias (fix #484) --- src/sigal/themes/galleria/templates/album_items.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sigal/themes/galleria/templates/album_items.html b/src/sigal/themes/galleria/templates/album_items.html index 730bb0f..b6f6368 100644 --- a/src/sigal/themes/galleria/templates/album_items.html +++ b/src/sigal/themes/galleria/templates/album_items.html @@ -3,7 +3,9 @@ title="Fullscreen" alt="Fullscreen (f)" /> {% include 'map.html' %} +{% if album.medias %} +{% endif %} {% include 'download_zip.html' %}