{{ $author := default site.Params.author .Params.author }} {{- with $author -}} {{- /* string or []string */ -}} {{- $authorType := printf "%T" $author -}} {{- if eq $authorType "string" -}} {{- . -}} {{- else if eq $authorType "[]string" -}} {{- delimit $author (i18n "authorDelimiter") -}} {{- end -}}
{{- end -}}