{{- /* Look up a vocabulary entry. Input: dict "taxonomy" "term" Returns the entry map (label, description, ...) or an empty dict. */ -}} {{- $entry := dict -}} {{- with index hugo.Data.vocabulary .taxonomy -}} {{- with index . $.term -}} {{- $entry = . -}} {{- end -}} {{- end -}} {{- return $entry -}}