cremeaux/layouts/partials/conseilmunicipal.html

14 lines
478 B
HTML

{{ $headless := .Site.GetPage "/viemunicipale/leconseilmunicipal" }}
<div class="container grid-xl conseilmunicipal">
<div class="columns">
{{ range sort $.Site.Data.conseilmunicipal.conseilmunicipal "nom" }}
{{ $image := $headless.Resources.GetMatch .image }}
{{ $resized := $image.Resize "250x" }}
<div class="column col-3 col-xl-4 col-lg-6 col-sm-12">
{{ partial "person.html" (merge . (dict "image" $resized.RelPermalink)) }}
</div>
{{ end }}
</div>
</div>