diff --git a/files/templates/root.html b/files/templates/root.html index 5882d77b6..2e388d208 100644 --- a/files/templates/root.html +++ b/files/templates/root.html @@ -31,7 +31,7 @@ {% endblock %} - {% if IS_HOMOWEEN() and (v and v.jumpscare) or 'shop' in request.path %} + {% if IS_HOMOWEEN() and ((v and v.jumpscare) or request.path.startswith('/shop/')) %} {% set image_src = SITE_FULL_IMAGES ~ "/assets/events/homoween/images/jumpscares/" ~ listdir("files/assets/events/homoween/images/jumpscares")|random() ~ "?x=45" %} {% set audio_src = "/assets/events/homoween/audio/jumpscares/" ~ listdir("files/assets/events/homoween/audio/jumpscares")|random() ~ "?x=45" %}