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 %}