cremeaux/layouts/partials/conseilmunicipal.html

10 lines
374 B
HTML

{{ $headless := .Site.GetPage "/viemunicipale/leconseilmunicipal" }}
<div class="container conseilmunicipal">
{{ range sort $.Site.Data.conseilmunicipal.conseilmunicipal "nom" }}
{{ $image := $headless.Resources.GetMatch .image }}
{{ $resized := $image.Resize "250x webp" }}
{{ partial "person.html" (merge . (dict "image" $resized.RelPermalink)) }}
{{ end }}
</div>