{{- /* Taxonomy values arrive as a slice even when the front matter gave a single string. Return the first element so single-valued fields render as text. */ -}} {{- $v := . -}} {{- if reflect.IsSlice $v -}} {{- $v = index $v 0 | default "" -}} {{- end -}} {{- return $v -}}