Markdownify author.html partial

This commit is contained in:
Andrew Kehrig 2024-11-27 15:58:14 +00:00 committed by GitHub
parent 3e53621007
commit b77b23c963
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,8 +2,8 @@
{{- $author := (.Params.author | default site.Params.author) }}
{{- $author_type := (printf "%T" $author) }}
{{- if (or (eq $author_type "[]string") (eq $author_type "[]interface {}")) }}
{{- (delimit $author ", " ) }}
{{- (delimit $author ", " ) | markdownify }}
{{- else }}
{{- $author }}
{{- $author | markdownify }}
{{- end }}
{{- end -}}