This commit is contained in:
Thiago Perrotta
2022-03-22 22:56:45 +08:00
committed by GitHub

View File

@ -1,5 +1,5 @@
{{- if or .Params.author .Site.Params.author }}
{{- $author := (.Params.author | default .Site.Params.author) }}
{{- if or .Params.author .Site.Params.author .Site.Author.name }}
{{- $author := (.Params.author | default .Site.Params.author | default .Site.Author.name) }}
{{- $author_type := (printf "%T" $author) }}
{{- if (or (eq $author_type "[]string") (eq $author_type "[]interface {}")) }}
{{- (delimit $author ", " ) }}