forked from MarseyWorld/MarseyWorld
dont show normal non-event banner rotation in holes without custom banners
parent
256859b2ff
commit
ebd018fd89
|
@ -9,9 +9,9 @@
|
||||||
{% block banner %}
|
{% block banner %}
|
||||||
{% include "modals/expanded_image.html" %}
|
{% include "modals/expanded_image.html" %}
|
||||||
{% if err or '@' not in request.path %}
|
{% 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' %}
|
{% 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' %}
|
{% include 'events/homoween/banner.html' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set path = "files/assets/images/" ~ SITE_NAME %}
|
{% set path = "files/assets/images/" ~ SITE_NAME %}
|
||||||
|
|
Loading…
Reference in New Issue