{{ define "main" }}
{{ $caller := . }}
<main class="page-main pa4 {{ .Kind }}" role="main">
  <section class="blog-content mw7 center">
    {{ if not (eq .FirstSection .CurrentSection) }}
      {{ partial "shared/breadcrumb.html" . }}
    {{ end }}
    {{ $paginator := .Paginate (where .Pages "Type" "collection").ByWeight }}
      {{ range $paginator.Pages }}
        {{ .Scratch.Set "$root" $caller }}
        {{ partial "shared/summary-section.html" . }}
      {{ end }}
    {{ partial "shared/list-paginatio