Optimisation des images++
This commit is contained in:
@@ -305,7 +305,7 @@
|
||||
<a href="{{ $page.RelPermalink }}">
|
||||
<figure>
|
||||
{{- with $image -}}
|
||||
{{- $resized := .Fill "166x91" -}}
|
||||
{{- $resized := .Fill "166x91 webp q80" -}}
|
||||
<img src="{{ $resized.RelPermalink }}" alt="Capture du lien {{ $page.Title }}" loading="lazy">
|
||||
{{- end -}}
|
||||
</figure>
|
||||
@@ -391,7 +391,7 @@
|
||||
<a href="{{ $item.RelPermalink }}" title="{{ $item.Title }}">
|
||||
<figure>
|
||||
{{- with $itemImage -}}
|
||||
{{- $resized := .Resize "x128" -}}
|
||||
{{- $resized := .Resize "x128 webp q80" -}}
|
||||
<img src="{{ $resized.RelPermalink }}" alt="{{ $item.Title }}" title="{{ $item.Title }}" loading="lazy">
|
||||
{{- end -}}
|
||||
</figure>
|
||||
|
||||
Reference in New Issue
Block a user