From 29c54b2284faf08ee9215202f52547f74c712f8a Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 26 Sep 2023 23:09:38 +0300 Subject: [PATCH] delete unnecessary code --- files/templates/util/html_head.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/files/templates/util/html_head.html b/files/templates/util/html_head.html index 43cf5e43e..3dd6bbbd7 100644 --- a/files/templates/util/html_head.html +++ b/files/templates/util/html_head.html @@ -140,13 +140,7 @@ {% macro stylesheets_lower() %} {% if not (request.path.startswith('/@') and u) %} - {% if SITE_NAME == 'rDrama' and v and v.chud %} - {% set background = '/i/backgrounds/anime/1.webp?x=6' %} - {% elif v and v.background %} - {% set background = v.background %} - {% endif %} - - {% if background %} + {% if (v and v.background) or (SITE_NAME == 'rDrama' and v and v.chud) %} {% endif %} {% endif %}