{{ with resources.Get "images/logos/logo.svg" }} {{ .Content | safeHTML }}   FastGPT {{ 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 }}
      • {{ .Title }}
      • {{ 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 }}