{{ with .Content }}
{{.}}
{{ end }}
{{ $pag := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections) }} {{ range $pag.Pages }} {{ partial "post_preview" . }} {{ end }}
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }} {{ end }}