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

{{ .Description }}

{{ $pages := (where .Site.Pages "Section" .Section).ByWeight }} {{ partial "section-index-level.html" (dict "pages" $pages "parent" . ) }}
{{ .Content }} {{ partial "primary-bottom.html" . }} {{ end }}