summaryrefslogtreecommitdiff
path: root/layouts/partials/author.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/author.html')
-rw-r--r--layouts/partials/author.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/author.html b/layouts/partials/author.html
index a1ef62c..4582b12 100644
--- a/layouts/partials/author.html
+++ b/layouts/partials/author.html
@@ -1,7 +1,7 @@
{{- if or .Params.author .Site.Params.author }}
-{{- $author := (.Params.author | default .Site.Params.author)}}
+{{- $author := (.Params.author | default .Site.Params.author) }}
{{- $author_type := (printf "%T" $author) }}
-{{- if (or (eq $author_type "[]string") (eq $author_type "[]interface {}") ) }}
+{{- if (or (eq $author_type "[]string") (eq $author_type "[]interface {}")) }}
{{- (delimit $author ", " ) }}
{{- else }}
{{- $author }}