From a1e8dbfa37eea92048d0d32da96cb904c4ddeb3b Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 2 Apr 2022 20:15:31 +0200 Subject: [PATCH] fsd --- files/templates/default.html | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/files/templates/default.html b/files/templates/default.html index 4710ce003..1cc9fd6c4 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -227,25 +227,19 @@ {% block Banner %} {% if '@' not in request.path %} - {% if v %} - {% if sub %} - /h/{{sub.name}} banner - {% elif SITE_NAME == 'rDrama' %} - {% set path = "assets/images/" + SITE_NAME + "/banners" %} - {% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=23' %} + {% if sub %} + /h/{{sub.name}} banner + {% elif SITE_NAME == 'rDrama' %} + {% set path = "assets/images/" + SITE_NAME + "/banners" %} + {% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=23' %} - - site banner - - {% else %} - - site banner - - {% endif %} - {% else %} - - + + site banner + {% else %} + + site banner + {% endif %} {% endif %} {% endblock %}