forked from rDrama/rDrama
1
0
Fork 0

force corvus banner on chudded ppl

master
Aevann 2023-09-29 05:13:52 +03:00
parent 6c4709442e
commit 3b7697e149
1 changed files with 5 additions and 3 deletions

View File

@ -49,11 +49,13 @@
{% else %}
{%- if not v and os_path.exists(path ~ "/cached.webp") -%}
{% set banner_url = 'cached.webp' | asset_siteimg %}
{% elif os_path.exists(path ~ "/banners") -%}
{%- elif SITE_NAME == 'rDrama' and v and v.chud %}
{% set banner_url = '/banners/18.webp' | asset_siteimg %}
{%- elif os_path.exists(path ~ "/banners") -%}
{% set banner_url = macros.random_image("assets/images/" ~ SITE_NAME ~ "/banners") %}
{% else -%}
{%- else -%}
{% set banner_url = 'banner.webp' | asset_siteimg %}
{% endif %}
{%- endif -%}
{% endif %}
{% macro img_element() %}