From 1027c7fc62997f35e6a4e8d854b4bf0711bfd968 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 3 May 2026 11:46:39 +0530 Subject: [PATCH 01/11] refactor(breadcrumbs): simplify breadcrumb generation using ancestors method --- layouts/_partials/breadcrumbs.html | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/layouts/_partials/breadcrumbs.html b/layouts/_partials/breadcrumbs.html index ba53824ed5..6aaa213453 100644 --- a/layouts/_partials/breadcrumbs.html +++ b/layouts/_partials/breadcrumbs.html @@ -1,23 +1,16 @@ {{- if (.Param "ShowBreadCrumbs") -}} {{- end -}} From 153ed24afed02889d2ce9512394eb120b2292178 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 3 May 2026 11:48:56 +0530 Subject: [PATCH 02/11] style(breadcrumbs): add additional chevron icon for breadcrumb navigation --- layouts/_partials/breadcrumbs.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/_partials/breadcrumbs.html b/layouts/_partials/breadcrumbs.html index 6aaa213453..bae40c9a52 100644 --- a/layouts/_partials/breadcrumbs.html +++ b/layouts/_partials/breadcrumbs.html @@ -12,5 +12,9 @@ {{ $bc.Title }} {{- end }} {{- end }} + + + {{- end -}} 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 03/11] 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 8f2758fa1d..e3a8617c0f 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 -}} From 8a1d813d2ccd7f73ef1283714686c59854788ef3 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 3 May 2026 11:58:56 +0530 Subject: [PATCH 04/11] style(header): add separator styling for nav --- assets/css/common/header.css | 4 ++++ layouts/_partials/header.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/css/common/header.css b/assets/css/common/header.css index c9edb8fe09..14e36e35ec 100644 --- a/assets/css/common/header.css +++ b/assets/css/common/header.css @@ -64,6 +64,10 @@ display: inline-flex; } +.nav-sep { + color: var(--secondary); +} + .lang-menu * { display: inherit; min-height: inherit; diff --git a/layouts/_partials/header.html b/layouts/_partials/header.html index 64c3193c76..bc101701b6 100644 --- a/layouts/_partials/header.html +++ b/layouts/_partials/header.html @@ -62,7 +62,7 @@ {{- $lang := .Lang}} {{- with site.Home.Translations }} {{- $separator := or $label_text (not site.Params.disableThemeToggle)}} - {{- if $separator }}|{{ end }} + {{- if $separator }}|{{ end }}