Don't show the galleria container if there are no medias (fix #484)

This commit is contained in:
Simon Conseil
2022-12-11 17:55:04 +01:00
parent 4fd9fb2391
commit 9cd25ea1ee

View File

@@ -3,7 +3,9 @@
title="Fullscreen" alt="Fullscreen (f)" /></a>
</div>
{% include 'map.html' %}
{% if album.medias %}
<div id="gallery"></div>
{% endif %}
{% include 'download_zip.html' %}