{{ define "main" }}
<div class="main">
	<main class="main__content">
        <article><p>This homepage is a work in progress, I hope to find something a little more interesting to put here than a list of posts.</p></article>

		{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
		{{ range $paginator.Pages }}
			{{ .Render "summary" }}
		{{ end }}
		{{ partial "pagination.html" . }}
	</main>
{{ partial "sidebar.html" . }}
</div>
{{ end }}
