dont show normal non-event banner rotation in holes without custom banners

master
Aevann 2023-10-09 20:09:32 +03:00
parent 256859b2ff
commit ebd018fd89
1 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@
{% block banner %}
{% include "modals/expanded_image.html" %}
{% if err or '@' not in request.path %}
{% if IS_FISTMAS() and not hole %}
{% if IS_FISTMAS() and not (hole and hole.has_banners) %}
{% include 'events/fistmas/banner.html' %}
{% elif IS_HOMOWEEN() and not hole %}
{% elif IS_HOMOWEEN() and not (hole and hole.has_banners) %}
{% include 'events/homoween/banner.html' %}
{% else %}
{% set path = "files/assets/images/" ~ SITE_NAME %}