2022-03-27 09:14:06 -04:00
|
|
|
{{- if or .Params.author site.Params.author }}
|
|
|
|
{{- $author := (.Params.author | default site.Params.author) }}
|
2020-10-25 02:45:51 -04:00
|
|
|
{{- $author_type := (printf "%T" $author) }}
|
2021-03-30 08:37:36 -04:00
|
|
|
{{- if (or (eq $author_type "[]string") (eq $author_type "[]interface {}")) }}
|
2020-10-25 02:45:51 -04:00
|
|
|
{{- (delimit $author ", " ) }}
|
|
|
|
{{- else }}
|
|
|
|
{{- $author }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end -}}
|