{{ define "main" }}

{{ partial "primary-top.html" . }}

<p>{{ .Description }}</p>

<div class="section-index">
    {{ $pages := (where .Site.Pages "Section" .Section).ByWeight }}
    {{ partial "section-index-level.html" (dict "pages" $pages "parent" . ) }}
</div>

{{ .Content }}

{{ partial "primary-bottom.html" . }}
{{ end }}
