cremeaux/layouts/partials/conseilmunicipal.html

14 lines
478 B
HTML
Raw Normal View History

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