enable new year banners
After Width: | Height: | Size: 254 KiB |
After Width: | Height: | Size: 177 KiB |
After Width: | Height: | Size: 211 KiB |
After Width: | Height: | Size: 237 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 199 KiB |
After Width: | Height: | Size: 143 KiB |
After Width: | Height: | Size: 194 KiB |
After Width: | Height: | Size: 312 KiB |
After Width: | Height: | Size: 176 KiB |
After Width: | Height: | Size: 209 KiB |
After Width: | Height: | Size: 157 KiB |
After Width: | Height: | Size: 209 KiB |
After Width: | Height: | Size: 272 KiB |
After Width: | Height: | Size: 187 KiB |
After Width: | Height: | Size: 119 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 235 KiB |
After Width: | Height: | Size: 166 KiB |
After Width: | Height: | Size: 84 KiB |
After Width: | Height: | Size: 134 KiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 87 KiB |
|
@ -12,7 +12,9 @@
|
||||||
|
|
||||||
{%- macro live_banner() -%}
|
{%- macro live_banner() -%}
|
||||||
{% set path = "files/assets/images/" ~ SITE_NAME %}
|
{% set path = "files/assets/images/" ~ SITE_NAME %}
|
||||||
{%- if not v and os_path.exists(path ~ "/cached.webp") -%}
|
{% if SITE_NAME == 'rDrama' %}
|
||||||
|
{{ 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") -}}
|
||||||
|
|