{{/* Display author list. */}} {{- $taxonomy := "authors" }} {{ with .Param $taxonomy }} {{ $link_authors := site.Params.link_authors | default true }} {{ range $index, $name_raw := . }} {{- $profile_page := site.GetPage (printf "/%s/%s" $taxonomy .) -}} {{- $name := $profile_page.Title | default $name_raw -}} {{- if gt $index 0 }}, {{ end -}} {{- if and $profile_page $link_authors -}} {{$name}} {{- else -}} {{$name}} {{- end -}} {{- if isset $.Params "author_notes" -}} {{- with (index $.Params.author_notes $index) -}} (?) {{- end -}} {{- end -}} {{- end -}} {{- end -}}