From 9ac0f391f602530ce5ae93bcb8f19a915a218fc7 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 25 Oct 2020 13:01:49 +0530 Subject: [PATCH] author(partial): fix multiple authors in config displayed incorrectly * is of type `[]interface {}` and not `[]string` --- layouts/partials/author.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/author.html b/layouts/partials/author.html index f91a116..a1ef62c 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_type := (printf "%T" $author) }} -{{- if (eq $author_type "[]string") }} +{{- if (or (eq $author_type "[]string") (eq $author_type "[]interface {}") ) }} {{- (delimit $author ", " ) }} {{- else }} {{- $author }}