This commit is contained in:
parent
2b840e017b
commit
138071bfb8
106 changed files with 4673 additions and 0 deletions
9
themes/PaperMod/layouts/partials/author.html
Normal file
9
themes/PaperMod/layouts/partials/author.html
Normal 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 -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue