remove new year banners

pull/114/head
Aevann 2023-02-06 06:26:50 +02:00
parent 2421effcd3
commit 2086b64c22
1 changed files with 1 additions and 3 deletions

View File

@ -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") -}}