style(author): adjust indentation for better readability

This commit is contained in:
Aditya Telange
2026-05-03 11:49:29 +05:30
parent 153ed24afe
commit 1e01e41de0
+8 -7
View File
@@ -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 -}}