{{- $pages := where .Site.RegularPages "Section" .Section }} {{- if and (gt (len $pages) 1) (in $pages . ) }} {{- end }}