{{/* Display author list. */}}
{{ if .Params.authors }}
{{ range $index, $term := (.GetTerms "authors") }}
{{- $slug := $term.Data.Term | urlize -}}
{{- $profile := partial "functions/get_author_profile" (dict "slug" $slug) -}}
{{- $display := $profile.title | default $term.LinkTitle -}}
{{- $highlight_name := false -}}
{{- if gt $index 0 }}, {{ end -}}
{{- if $term.RelPermalink -}}
{{ $display }}
{{- else -}}
{{ $display }}
{{- end -}}
{{- if isset $.Params "author_notes" -}}
{{- with (index $.Params.author_notes $index) -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}