feat: Ajout du paramètre lazy loading sur toutes les images
This commit is contained in:
@ -83,7 +83,7 @@
|
||||
<div class="container cards">
|
||||
{{ range .valeur_item }}
|
||||
<article class="card center">
|
||||
<!-- <img src="images/{{.image}}.svg" alt="{{ .name | title }}" height="64" width="64"> -->
|
||||
<!-- <img src="images/{{.image}}.svg" alt="{{ .name | title }}" height="64" width="64" loading="lazy"> -->
|
||||
<h3>{{ .name | title }}</h3>
|
||||
<p>{{ .content | markdownify }}</p>
|
||||
</article>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<article class="card">
|
||||
<figure>
|
||||
<a href="{{ .url }}">
|
||||
<img src="{{ .image }}" alt="Copie d'écran du site {{ .title }}" />
|
||||
<img src="{{ .image }}" alt="Copie d'écran du site {{ .title }}" loading="lazy" />
|
||||
</a>
|
||||
</figure>
|
||||
<div>
|
||||
|
Reference in New Issue
Block a user