• {{ with .Site.Params.docs.logo }} {{ end }} {{ with .Site.Params.docs.logo_text }}

    {{ . }}

    {{ end }}
    {{ $currentPage := . -}} {{ $section := $currentPage.Section -}} {{ range (where .Site.Sections.ByWeight "Section" "in" $section) }} {{ $child_pages := union .Sections .Pages }} {{ range $child_pages.ByWeight }} {{ if or (.Sections) (.Pages) }} {{ $active := in $currentPage.RelPermalink .RelPermalink }}
    • {{ range .Pages }} {{ $active := in $currentPage.RelPermalink .RelPermalink }} {{ if .IsSection }}
      • {{ range .Pages }} {{ $active := in $currentPage.RelPermalink .RelPermalink }} {{ if .IsSection }}
        • {{ range .Pages }} {{ $active := in $currentPage.RelPermalink .RelPermalink }} {{ if .IsSection }}
          • {{ range .Pages }} {{ $active := in $currentPage.RelPermalink .RelPermalink }}
          • {{ .Title }}
          • {{ end }}
        • {{ else }}
        • {{ .Title }}
        • {{ end }} {{ end }}
      • {{ else }}
      • {{ .Title }}
      • {{ end }} {{ end }}
    • {{ else }}
    • {{ .Title }}
    • {{ end }} {{ end }}
  • {{ else }} {{ $active := in $currentPage.RelPermalink .RelPermalink }}
  • {{ if eq .Site.Params.docs.sidebarIcons true -}} {{ .Params.icon }} {{ end }} {{ .Title }}
  • {{ end }} {{ end }} {{ end }}