Suppression de la librairie lozad puisque les navigateurs font maintenant du lazy loading

This commit is contained in:
2022-09-13 23:27:16 +02:00
parent 5fac28ae1d
commit 9b9ceaea16
15 changed files with 14 additions and 32 deletions

View File

@ -18,7 +18,7 @@
{{"<!-- client photo -->" | safeHTML}}
<div class="client-thumb">
<img class="img-fluid lozad" data-src="{{ .image_webp | absURL }}" onerror="this.onerror=null;this.src='{{ .image | absURL }}'" alt="{{ .name }}">
<img class="img-fluid" src="{{ .image_webp | absURL }}" onerror="this.onerror=null;this.src='{{ .image | absURL }}'" alt="{{ .name }}" loading="lazy">
</div>
{{"<!-- client info -->" | safeHTML}}