{{- with .Params.authors -}} {{- $lang := ( $.Params.lang | default $.Lang ) -}} {{- partial "svg/icon" "author" -}} {{ i18n "by" }} {{- range $i, $authorID := . -}} {{- $author := ( index $.Site.Data.authors $authorID ) -}} {{- $i18nAuthor := ( index $author $lang ) -}} {{- $name := ( or $i18nAuthor.name $author.name ) -}} {{- if gt $i 0 }}, {{ end -}} {{- $name.display -}} {{- end -}} {{- end -}}