forked from MarseyWorld/MarseyWorld
remove lazy loading from the banner
parent
4be4bcc800
commit
379b332825
|
@ -58,7 +58,7 @@
|
|||
|
||||
<body id="error-404">
|
||||
<a href="/i/WPD/cached.webp?v=3009">
|
||||
<img loading="lazy" class="site-banner" alt="site banner" src="/i/WPD/cached.webp?v=3009" width="100%">
|
||||
<img class="site-banner" alt="site banner" src="/i/WPD/cached.webp?v=3009" width="100%">
|
||||
</a>
|
||||
|
||||
<nav class="shadow-md fixed-top">
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
|
||||
<body id="error-502">
|
||||
<a href="/i/WPD/cached.webp?v=3009">
|
||||
<img loading="lazy" class="site-banner" alt="site banner" src="/i/WPD/cached.webp?v=3009" width="100%">
|
||||
<img class="site-banner" alt="site banner" src="/i/WPD/cached.webp?v=3009" width="100%">
|
||||
</a>
|
||||
|
||||
<nav class="shadow-md fixed-top">
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
|
||||
<body id="error-404">
|
||||
<a rel="nofollow noopener" href="https://secure.transequality.org/site/Donation2?df_id=1480">
|
||||
<img loading="lazy" class="site-banner" alt="site banner" src="/i/rDrama/cached.webp?v=3009" width="100%">
|
||||
<img class="site-banner" alt="site banner" src="/i/rDrama/cached.webp?v=3009" width="100%">
|
||||
</a>
|
||||
|
||||
<nav class="shadow-md fixed-top">
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
|
||||
<body id="error-502">
|
||||
<a rel="nofollow noopener" href="https://secure.transequality.org/site/Donation2?df_id=1480">
|
||||
<img loading="lazy" class="site-banner" alt="site banner" src="/i/rDrama/cached.webp?v=3009" width="100%">
|
||||
<img class="site-banner" alt="site banner" src="/i/rDrama/cached.webp?v=3009" width="100%">
|
||||
</a>
|
||||
|
||||
<nav class="shadow-md fixed-top">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
{%- macro banner(src, href, alt, expand, class) %}
|
||||
<a href="{{href|default(src)}}" rel="nofollow noopener">
|
||||
<img loading="lazy" data-nonce="{{g.nonce}}" data-onclick="{{expand|default('expandImage()')}}" class="{{class|default('site-banner')}}" alt="{{alt|default('site banner')}}" src="{{src|default(live_banner())}}">
|
||||
<img data-nonce="{{g.nonce}}" data-onclick="{{expand|default('expandImage()')}}" class="{{class|default('site-banner')}}" alt="{{alt|default('site banner')}}" src="{{src|default(live_banner())}}">
|
||||
</a>
|
||||
{% endmacro -%}
|
||||
|
||||
|
|
Loading…
Reference in New Issue