add cool banner for error pages #36
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
|
@ -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' %}
|
||||
|
|
Loading…
Reference in New Issue