cremeaux/layouts/partials/conseilmunicipal.html

10 lines
369 B
HTML
Raw 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 }}
{{ $resized := $image.Resize "250x" }}
{{ 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>