mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-19 01:15:09 -04:00
Markdownify author.html partial
This commit is contained in:
parent
3e53621007
commit
b77b23c963
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue