{{- if isset .Site.Params "description" -}}
{{ template "partials/subtitle.html" . }}
{{- end -}}
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
{{ $paginator := .Paginate (where $pages "Params.hidden" "ne" true) }}
{{ range $paginator.Pages }}
{{.Title}}
{{ template "partials/pagedescription.html" . }}