mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2026-05-21 11:05:49 +00:00
style(author): adjust indentation for better readability
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
{{- if or .Params.author site.Params.author }}
|
{{- if or .Params.author site.Params.author }}
|
||||||
{{- $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 {}")) }}
|
|
||||||
{{- (delimit $author ", " ) }}
|
{{- if (or (eq $author_type "[]string") (eq $author_type "[]interface {}")) }}
|
||||||
{{- else }}
|
{{- (delimit $author ", " ) }}
|
||||||
{{- $author }}
|
{{- else }}
|
||||||
{{- end }}
|
{{- $author }}
|
||||||
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user