{{- /* The display title of a page. Term pages take their label from the vocabulary instead of Hugo's title-cased slug ("Aws"). */ -}} {{- $title := .Title -}} {{- if eq .Kind "term" -}} {{- $entry := partial "vocab.html" (dict "taxonomy" .Data.Plural "term" .Data.Term) -}} {{- with $entry.label }}{{ $title = . }}{{ end -}} {{- end -}} {{- return $title -}}