{{ $sections := where site.Sections "Section" "docs" }} {{ $here := .RelPermalink }} {{ $section := .CurrentSection }} {{ $metaLinks := site.Menus.meta }} {{/* Iterate through all docs sections, including the root */}} {{ range $sections }}
{{ .title }}
{{ end }} {{ end }} {{ define "link" }} {{ $isActive := eq .here .url }} {{ .title }} {{ end }} {{ define "chevron-icon" }} {{/* Heroicon: outline/chevron-right */}} {{ end }} {{ define "meta-menu" }} {{ range . }} {{ end }} {{ end }}