diff --git a/prosopopee/themes/exposure/templates/index.html b/prosopopee/themes/exposure/templates/index.html index 473b583..22c18d9 100644 --- a/prosopopee/themes/exposure/templates/index.html +++ b/prosopopee/themes/exposure/templates/index.html @@ -26,19 +26,15 @@ {% if gallery.cover_type == "video" %} {% set video = Video(gallery.cover) %} {{ video.copy() }} - {% else %} - {% set cover = Image(gallery.cover) %} - {{ cover.copy() }} - {% endif %} - {% if video %} - {% set video = "" %} {% else %} + {% set cover = Image(gallery.cover) %} + {{ cover.copy() }} {% endif %}