Alleen 'actieve leden' tonen indien van toepassing
This commit is contained in:
parent
968d379ea9
commit
2d090f5f9e
|
@ -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 }}
|
||||||
|
|
Reference in a new issue