s size becomes 1024w for index galery

This commit is contained in:
Florian du Garage Num 2023-12-21 17:52:13 +01:00
parent eeb19f53a2
commit ba0cd78daa

View File

@ -8,10 +8,10 @@
<div id="galerie" class="carousel">
{{ $carouselImages := resources.Match "carousel/*"}}
{{ range $index, $image := $carouselImages }}
{{- $jpegs := $image.Resize (printf "%dx jpeg q%d" 768 75) }}
{{- $jpegs := $image.Resize (printf "%dx jpeg q%d" 1024 75) }}
{{- $jpegm := $image.Resize (printf "%dx jpeg q%d" 1440 75) }}
{{- $jpegl := $image.Resize (printf "%dx jpeg q%d" 2200 75) }}
{{- $webps := $image.Resize (printf "%dx webp q%d picture" 768 75) }}
{{- $webps := $image.Resize (printf "%dx webp q%d picture" 1024 75) }}
{{- $webpm := $image.Resize (printf "%dx webp q%d picture" 1440 75) }}
{{- $webpl := $image.Resize (printf "%dx webp q%d picture" 2200 75) }}
<figure class="image">