{{ $section := .Site.GetPage "section" .Section }}
{{- if $section.Params.icon -}} {{- partial "icon.html" $section.Params.icon -}} {{- end -}} {{- $section.Title -}}
{{ $pages := (where .Site.Pages "Section" .Section).ByWeight }}
{{ partial "sidebar_level.html" (dict "pages" $pages "parent" $section "current" . "collapse" false) }}