forked from rDrama/rDrama
remove new year banners
parent
2421effcd3
commit
2086b64c22
|
@ -12,9 +12,7 @@
|
||||||
|
|
||||||
{%- macro live_banner() -%}
|
{%- macro live_banner() -%}
|
||||||
{% set path = "files/assets/images/" ~ SITE_NAME %}
|
{% set path = "files/assets/images/" ~ SITE_NAME %}
|
||||||
{% if SITE_NAME == 'rDrama' %}
|
{%- if not v and os_path.exists(path ~ "/cached.webp") -%}
|
||||||
{{ random_image("assets/images/" ~ SITE_NAME ~ "/banners-event/2023-newyear") -}}
|
|
||||||
{%- elif not v and os_path.exists(path ~ "/cached.webp") -%}
|
|
||||||
{{ 'cached.webp' | asset_siteimg -}}
|
{{ 'cached.webp' | asset_siteimg -}}
|
||||||
{% elif os_path.exists(path ~ "/banners") -%}
|
{% elif os_path.exists(path ~ "/banners") -%}
|
||||||
{{ random_image("assets/images/" ~ SITE_NAME ~ "/banners") -}}
|
{{ random_image("assets/images/" ~ SITE_NAME ~ "/banners") -}}
|
||||||
|
|
Loading…
Reference in New Issue