diff --git a/files/templates/default.html b/files/templates/default.html index a9b62d6dc6..8c8fc7ed4c 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -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() %}