From e65b86cbfc5571829f3e9e0715757f39240be7e0 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 10 Jul 2022 11:43:03 +0200 Subject: [PATCH] change banners for chudrama --- files/templates/default.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/files/templates/default.html b/files/templates/default.html index 553ba4616..ac2e478af 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -280,14 +280,20 @@ /h/{{sub.name}} banner - {% elif SITE_NAME == 'rDrama' %} + {% elif SITE_NAME == 'Chudrama' %} {% set path = "assets/images/" + SITE_NAME + "/banners" %} {% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=25' %} + + site banner + + {% elif SITE_NAME == 'rDrama' %} {% if v and (v.is_banned or v.agendaposter) %} site banner {% else %} + {% set path = "assets/images/" + SITE_NAME + "/banners" %} + {% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=25' %} site banner {% endif %}