cremeaux/layouts/partials/conseilmunicipal.html

12 lines
362 B
HTML
Raw Normal View History

2020-09-02 16:54:03 +02:00
{{ $headless := .Site.GetPage "/viemunicipale/leconseilmunicipal" }}
<ul class="conseilmunicipal">
{{ range $.Site.Data.conseilmunicipal.conseilmunicipal }}
{{ $image := $headless.Resources.GetMatch .image }}
{{ $resized := $image.Resize "250x" }}
<li>
{{ partial "person.html" (merge . (dict "image" $resized.RelPermalink)) }}
</li>
{{ end }}
</ul>