<!-- Include the head/header -->
{{ partial "header.html" . }}

<!-- Content goes here -->
<div id="content">
{{ range $index, $page := (.Paginate (where (where .Site.RegularPages "Type" "in" site.Params.mainSections) ".Params.hidden" "!=" "true" )).Pages }}
{{ if ne $index 0 }}
{{ end }}
{{ .Render "li" }}
{{ end }}
{{ partial "pagination.html" .Paginator }}
</div>

<!-- Include the site info and footer -->
{{ partial "footer.html" . }}