From 1e01e41de0aa1d7bbfbbfff9a33ffba34e0e96ae Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 3 May 2026 11:49:29 +0530 Subject: [PATCH] style(author): adjust indentation for better readability --- layouts/_partials/author.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/layouts/_partials/author.html b/layouts/_partials/author.html index 8f2758fa..e3a8617c 100644 --- a/layouts/_partials/author.html +++ b/layouts/_partials/author.html @@ -1,9 +1,10 @@ {{- 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 }} + {{- $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 -}}