feat: Convertion des jpg en webp
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<div class="container conseilmunicipal">
|
||||
{{ range sort $.Site.Data.conseilmunicipal.conseilmunicipal "nom" }}
|
||||
{{ $image := $headless.Resources.GetMatch .image }}
|
||||
{{ $resized := $image.Resize "250x" }}
|
||||
{{ $resized := $image.Resize "250x webp" }}
|
||||
{{ partial "person.html" (merge . (dict "image" $resized.RelPermalink)) }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user