feat: Mise à jour des visuels
After Width: | Height: | Size: 203 KiB |
Before Width: | Height: | Size: 303 KiB |
Before Width: | Height: | Size: 908 KiB |
After Width: | Height: | Size: 227 KiB |
Before Width: | Height: | Size: 261 KiB After Width: | Height: | Size: 261 KiB |
|
@ -6,7 +6,7 @@ menu:
|
||||||
parent: municipale
|
parent: municipale
|
||||||
name: Le conseil municipal
|
name: Le conseil municipal
|
||||||
weight: 20
|
weight: 20
|
||||||
image: jonas-jacobsson-2xaF4TbjXT0-unsplash.jpg
|
image: dylan-gillis-KdeqA3aTnBY-unsplash.jpg
|
||||||
layout: conseil
|
layout: conseil
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 378 KiB |
After Width: | Height: | Size: 243 KiB |
|
@ -6,7 +6,12 @@
|
||||||
{{ if $image }}
|
{{ if $image }}
|
||||||
{{ $resizedSmall := $image.Fill $imageSizeSmall }}
|
{{ $resizedSmall := $image.Fill $imageSizeSmall }}
|
||||||
{{ $resizedBig := $image.Fill $imageSizeBig }}
|
{{ $resizedBig := $image.Fill $imageSizeBig }}
|
||||||
<img class="hero no-print" src="{{ $resizedSmall.RelPermalink }}" srcset="{{ $resizedSmall.RelPermalink }} 600w, {{ $resizedBig.RelPermalink }} 1920w" sizes="(max-width: 600px) 500px, 1920px" />
|
<img
|
||||||
|
class="hero no-print"
|
||||||
|
src="{{ $resizedSmall.RelPermalink }}"
|
||||||
|
srcset="{{ $resizedSmall.RelPermalink }} 600w, {{ $resizedBig.RelPermalink }} 1920w"
|
||||||
|
sizes="(max-width: 600px) 500px, 1920px"
|
||||||
|
/>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<nav class="nav">
|
<nav class="nav">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|