summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/templates/schema_json.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/templates/schema_json.html b/layouts/partials/templates/schema_json.html
index ff84c97..f04a0bf 100644
--- a/layouts/partials/templates/schema_json.html
+++ b/layouts/partials/templates/schema_json.html
@@ -46,7 +46,7 @@
"dateModified": {{ .Lastmod }},
{{- with (.Params.author | default .Site.Params.author) }}
"author":
- {{- if (eq (printf "%T" .) "[]string") -}}
+ {{- if (or (eq (printf "%T" .) "[]string") (eq (printf "%T" .) "[]interface {}")) -}}
[{{- range $i, $v := . -}}
{{- if $i }}, {{end -}}
{