| 1 | {{- if or .Params.author site.Params.author }} |
| 2 | {{- $author := (.Params.author | default site.Params.author) }} |
| 3 | {{- $author_type := (printf "%T" $author) }} |
| 4 | |
| 5 | {{- if (or (eq $author_type "[]string") (eq $author_type "[]interface {}")) }} |
| 6 | {{- (delimit $author ", " ) }} |
| 7 | {{- else }} |
| 8 | {{- $author }} |
| 9 | {{- end }} |
| 10 | {{- end -}} |