{{ define "main" }}
{{ $pages := where site.RegularPages "Section" "ne" "" }} {{- /* exclude non-section pages, e.g. /content/about.md */ -}}
{{ $homePagerSize := or site.Params.homePagerSize 10 }}
{{ $paginator := .Paginate $pages $homePagerSize }}
  {{ .Content }}
  {{ range $paginator.Pages }}
    <h2 class="home-post-title"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
    {{ partial "main/dates.html" . }}
    {{ with .Summary }}
    {{- /*
    Create deterministic summary output for styling.
