{{- $currentUrl := .URL }} {{- $docs := .CurrentSection.RegularPages }} {{- $multipleDocs := gt (len $docs) 1 }} {{- $currentSection := .Section }} {{- range $section, $taxonomy := .Site.Sections }} {{- if eq $taxonomy.Section $currentSection }} {{- end }} {{- end }} {{- if $multipleDocs }} {{- end}}