diff --git a/prosopopee/themes/material/templates/gallery-index.html b/prosopopee/themes/material/templates/gallery-index.html
index 449ad32..d50019c 100644
--- a/prosopopee/themes/material/templates/gallery-index.html
+++ b/prosopopee/themes/material/templates/gallery-index.html
@@ -9,7 +9,7 @@
{% if gallery.panorama_enabled %}
{% endif %}
- {% if gallery.panorama_audio %}
+ {% if gallery.audio_enabled %}
{% endif %}
@@ -54,7 +54,7 @@
{% endif %}
- {% if gallery.panorama_audio %}
+ {% if gallery.audio_enabled %}
{% endif %}