 {{- if .IsSection }}
                <div id="list-subsection" class="carousel">
                    {{ partial "list/sections.html" (dict "class" "carousel__viewport" "cover" true "page" .) }}
                </div>
            {{- end }}
            {{- with .Content }}
                {{ partial "hero.html" $ }}
            {{- end }}
        {{- end }}
    {{- end }}
{{- end -}}

{{- define "main" -}}
    {{- $paginator := partial "paginator.html" . }}
    {{- $firstPage := not $paginator.HasPrev }}
  