{{ partial "header.html" . }} {{ $pctx := . }} {{ if .IsHome }} {{ $pctx = .Site }} {{ else }} {{ end }} {{ $paginator := .Paginate (where $pctx.RegularPages "Type" "in" .Site.Params.mainSections) }} {{ if gt $paginator.TotalPages 0 }} {{ range $index, $page := $paginator.Pages }}

{{ .Title }}

{{ .Summary | plainify | htmlUnescape }}...

{{ end }} {{ end }} {{ if gt $paginator.TotalPages 1 }} {{ end }} {{ partial "footer.html" . }}