From 2086b64c22c9a5ce9ef3f9d2a1f058cf9c305763 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 6 Feb 2023 06:26:50 +0200 Subject: [PATCH] remove new year banners --- files/templates/util/macros.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/files/templates/util/macros.html b/files/templates/util/macros.html index 967715a85..0dac7a16f 100644 --- a/files/templates/util/macros.html +++ b/files/templates/util/macros.html @@ -12,9 +12,7 @@ {%- macro live_banner() -%} {% set path = "files/assets/images/" ~ SITE_NAME %} - {% if SITE_NAME == 'rDrama' %} - {{ random_image("assets/images/" ~ SITE_NAME ~ "/banners-event/2023-newyear") -}} - {%- elif not v and os_path.exists(path ~ "/cached.webp") -%} + {%- if not v and os_path.exists(path ~ "/cached.webp") -%} {{ 'cached.webp' | asset_siteimg -}} {% elif os_path.exists(path ~ "/banners") -%} {{ random_image("assets/images/" ~ SITE_NAME ~ "/banners") -}}