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

@ -14,10 +14,10 @@
<div class="content text-center">
<figure>
{{ if .Params.Image }}
<img class="rounded-circle img-fluid lozad" data-src="{{.Params.Image | relURL }}">
<img class="rounded-circle img-fluid" src="{{.Params.Image | relURL }}" loading="lazy">
{{else if .Params.Email}}
<img class="rounded-circle img-fluid lozad"
data-src="https://www.gravatar.com/avatar/{{ md5 .Params.email }}?s=128&pg&d=identicon">
<img class="rounded-circle img-fluid"
src="https://www.gravatar.com/avatar/{{ md5 .Params.email }}?s=128&pg&d=identicon" loading="lazy">
{{ end }}
<figcaption>
<h5 class="font-weight-bold">