actions culturelles modification

pull/18/head
Carmen Ngaka Iziasuma 9 months ago
parent 8ef973aaf8
commit ec3e1d6976

@ -30,8 +30,8 @@
{{ with $img }}
{{- $jpeg := .Resize (printf "%dx%d jpeg" .Width .Height) }}
{{- $webp := .Resize (printf "%dx%d webp picture" .Width .Height) }}
<figure class="image" style="max-width: 100%; max-height: 40vh; width: auto;">
<picture class=" is-flex is-justify-content-center is-align-items-center">
<figure class="image is-flex is-justify-content-center" style="max-width: 100%; max-height: 40vh; width: auto;">
<picture class=" is-flex is-align-items-center is-justify-content-center">
<source srcset="{{ $webp.Permalink }}" type="image/webp">
<img src='{{ $jpeg.Permalink }}' loading="lazy" width="{{ .Width }}" height="{{ .Height }}" alt="{{ .Permalink }}" style="max-width: 100%; max-height: 100%; width: auto;">
</picture>

Loading…
Cancel
Save