feat: Convertion des jpg en webp
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{{ $headless := .Site.GetPage "/viemunicipale/lemotdumaire" }}
|
||||
<p class="maire">
|
||||
{{ $image := $headless.Resources.GetMatch "maire.jpg" }}
|
||||
{{ $resized := $image.Resize "300x" }}
|
||||
{{ $resized := $image.Resize "300x webp" }}
|
||||
<img class="round" src="{{ $resized.RelPermalink }}" alt="Didier PONCET" />
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user