Try doing a wee cleanup

This commit is contained in:
Nikolai Rodionov
2023-05-08 14:48:02 +02:00
parent ae45b107eb
commit aa788f30bc
212 changed files with 4923 additions and 15 deletions

View File

@ -0,0 +1,9 @@
{{- if or .Params.author 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 {}")) }}
{{- (delimit $author ", " ) }}
{{- else }}
{{- $author }}
{{- end }}
{{- end -}}