{{ define "main" }}
{{ .Content }}
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} {{ range (.Paginate $pages).Pages }} {{ partial "postSummary.html" . }} {{ end }} {{ partial "pagination.html" . }}
{{ end }}