mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-01-25 20:03:14 -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 := (.Params.author | default site.Params.author) }}
|
||||||
{{- $author_type := (printf "%T" $author) }}
|
{{- $author_type := (printf "%T" $author) }}
|
||||||
{{- if (or (eq $author_type "[]string") (eq $author_type "[]interface {}")) }}
|
{{- if (or (eq $author_type "[]string") (eq $author_type "[]interface {}")) }}
|
||||||
{{- (delimit $author ", " ) }}
|
{{- (delimit $author ", " ) | markdownify }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- $author }}
|
{{- $author | markdownify }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user