{{- $pluralSection := . -}} {{- $sectionMap := partialCached "section-names.html" site site.Language.Lang -}} {{- $section := "" -}} {{- range $singular, $plural := $sectionMap -}} {{- if eq $plural $pluralSection -}} {{- $section = $singular -}} {{- end -}} {{- end -}} {{- return $section -}}