cremeaux/layouts/partials/maire.html

7 lines
269 B
HTML
Raw Permalink Normal View History

2020-09-02 16:54:03 +02:00
{{ $headless := .Site.GetPage "/viemunicipale/lemotdumaire" }}
<p class="maire">
2020-11-09 12:36:28 +01:00
{{ $image := $headless.Resources.GetMatch "maire.jpg" }}
2021-05-03 14:57:56 +02:00
{{ $resized := $image.Resize "300x webp" }}
2020-09-02 16:54:03 +02:00
<img class="round" src="{{ $resized.RelPermalink }}" alt="Didier PONCET" />
</p>