addet some content
This commit is contained in:
parent
ca2a34ccbc
commit
12d1a88622
64 changed files with 4696 additions and 157 deletions
9
www/layouts/_default/partials/author.html
Normal file
9
www/layouts/_default/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