7
0
Fork 0

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 }}
{{ if .Params.active_members }}
<section> <section>
<h2>Actieve leden</h2> <h2>Actieve leden</h2>
{{ if .Params.active_members }}
{{ .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 }}