{{ partial "header.html" . }}
<div class="article-list">
  {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
  {{ range $index, $page := $paginator.Pages }}
    {{ if ne $index 0 }}
      <hr>
    {{ end }}
    {{ .Render "li" }}
  {{ end }}
</div>
{{ if (not (eq nil .Paginator)) }}
  {{ partial "pagination.html" .Paginator }}
{{ end }}
{{ partial "footer.html" . }}
