mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-01-11 14:03:19 -05:00
Markdownify author.html partial
This commit is contained in:
parent
3e53621007
commit
b77b23c963
@ -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 -}}
|
||||
|
Loading…
Reference in New Issue
Block a user