Suppression de la librairie lozad puisque les navigateurs font maintenant du lazy loading
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
{{"<!-- Welcome Slider-->" | safeHTML}}
|
||||
<section class="hero-area" style='background-image: url("{{ .bg_image_webp | absURL }}")'>
|
||||
<!-- this image is for trigger this section fallback background image -->
|
||||
<img class="d-none" src="{{ .bg_image_webp | absURL }}" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'"/>
|
||||
<img class="d-none" src="{{ .bg_image_webp | absURL }}" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'" loading="lazy"/>
|
||||
|
||||
<div class="block p-6">
|
||||
{{ if .icon }}
|
||||
|
Reference in New Issue
Block a user