From 8940c650d44d726ab317c91a61861e29f66ec59b Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 26 Dec 2022 05:06:17 +0200 Subject: [PATCH] minor fix --- files/templates/event/banner.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/templates/event/banner.html b/files/templates/event/banner.html index 0ecf3326c..3312d2da5 100644 --- a/files/templates/event/banner.html +++ b/files/templates/event/banner.html @@ -5,14 +5,14 @@ {% endif %} - {% if random.randint(1,100) != 1 %} + {% if SITE_NAME == 'rDrama' and (1,2,3,4,5)|random() == 1 %} + + {% else %} {% if SITE_NAME == 'rDrama' %} {% include "event/banner_rDrama.svg" %} {% else %} {% include "event/banner.svg" %} {% endif %} - {% else %} - {% endif %}