remove lazy loading from the banner

master
Aevann 2023-03-06 18:43:21 +02:00
parent 4be4bcc800
commit 379b332825
5 changed files with 5 additions and 5 deletions

View File

@ -58,7 +58,7 @@
<body id="error-404"> <body id="error-404">
<a href="/i/WPD/cached.webp?v=3009"> <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> </a>
<nav class="shadow-md fixed-top"> <nav class="shadow-md fixed-top">

View File

@ -58,7 +58,7 @@
<body id="error-502"> <body id="error-502">
<a href="/i/WPD/cached.webp?v=3009"> <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> </a>
<nav class="shadow-md fixed-top"> <nav class="shadow-md fixed-top">

View File

@ -58,7 +58,7 @@
<body id="error-404"> <body id="error-404">
<a rel="nofollow noopener" href="https://secure.transequality.org/site/Donation2?df_id=1480"> <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> </a>
<nav class="shadow-md fixed-top"> <nav class="shadow-md fixed-top">

View File

@ -58,7 +58,7 @@
<body id="error-502"> <body id="error-502">
<a rel="nofollow noopener" href="https://secure.transequality.org/site/Donation2?df_id=1480"> <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> </a>
<nav class="shadow-md fixed-top"> <nav class="shadow-md fixed-top">

View File

@ -6,7 +6,7 @@
{%- macro banner(src, href, alt, expand, class) %} {%- macro banner(src, href, alt, expand, class) %}
<a href="{{href|default(src)}}" rel="nofollow noopener"> <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> </a>
{% endmacro -%} {% endmacro -%}