Alleen 'actieve leden' tonen indien van toepassing

This commit is contained in:
Michael Boelen 2023-05-21 12:58:59 +02:00
parent 968d379ea9
commit 2d090f5f9e

View file

@ -1,11 +1,12 @@
{{ define "main" }} {{ define "main" }}
{{ .Content }} {{ .Content }}
<section> {{ if .Params.active_members }}
<h2>Actieve leden</h2> <section>
{{ if .Params.active_members }} <h2>Actieve leden</h2>
{{ .Scratch.Set "active_members" .Params.active_members }} {{ .Scratch.Set "active_members" .Params.active_members }}
{{ partial "show-active-members-small.html" . }} {{ partial "show-active-members-small.html" . }}
{{ end }} </section>
</section> {{ end }}
{{ end }} {{ end }}