diff --git a/files/assets/images/rDrama/banner_error.webp b/files/assets/images/rDrama/banner_error.webp new file mode 100644 index 000000000..1a25c228f Binary files /dev/null and b/files/assets/images/rDrama/banner_error.webp differ diff --git a/files/templates/default.html b/files/templates/default.html index 84ebda9ba..70a3fa022 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -3,12 +3,13 @@ {% block body %} {% block banner %} {% include "modals/expanded_image.html" %} - - {% if '@' not in request.path %} + {% if err or '@' not in request.path %} {% if EVENT_BANNER and not sub %} {% include 'event/' + EVENT_BANNER %} {% else %} - {% if sub %} + {% if err and SITE_NAME == 'rDrama' %} + {% set src = "banner_error.webp" | asset_siteimg %} + {% elif sub %} {% set src = sub.banner_url %} {% set alt = ['/h/', sub, 'banner']|join %} {% set class = 'site-banner-hole' %}