cremeaux/layouts/partials/conseilmunicipal.html

10 lines
374 B
HTML
Raw Permalink Normal View History

2020-09-02 16:54:03 +02:00
{{ $headless := .Site.GetPage "/viemunicipale/leconseilmunicipal" }}
<div class="container conseilmunicipal">
2020-10-21 16:23:05 +02:00
{{ range sort $.Site.Data.conseilmunicipal.conseilmunicipal "nom" }}
2020-09-02 16:54:03 +02:00
{{ $image := $headless.Resources.GetMatch .image }}
2021-05-03 14:57:56 +02:00
{{ $resized := $image.Resize "250x webp" }}
{{ partial "person.html" (merge . (dict "image" $resized.RelPermalink)) }}
2020-09-02 16:54:03 +02:00
{{ end }}
2020-10-21 16:23:05 +02:00
</div>