{{/* Display author list. */}} {{- $taxonomy := "authors" }} {{ if .Param $taxonomy }} {{ range $index, $value := (.GetTerms $taxonomy) }} {{- /* Highlight the author's name? */ -}} {{- $highlight_name := .Page.Params.highlight_name | default false -}} {{- if gt $index 0 }}, {{ end -}} {{/* Effectively check the page's `_build` option as `_build` is not exposed in Hugo's Page object. */}} {{- if .RelPermalink -}} {{.LinkTitle}} {{- else -}} {{ .LinkTitle }} {{- end -}} {{- if isset $.Params "author_notes" -}} {{- with (index $.Params.author_notes $index) -}} {{- end -}} {{- end -}} {{- end -}} {{- end -}}