1 2 3 4 5 6 7 8 9 10
{{ define "main" }} <article class="article"> {{ $pgs := where .Data.Pages "Params.hidden" "ne" "true" }} {{ partial "postlist" $pgs }} </article> {{ end }}