From e19247e0e9772761979eaa71079345a3ce16693e Mon Sep 17 00:00:00 2001 From: Bhumika Garg Date: Wed, 3 Jun 2026 23:25:22 +0530 Subject: [PATCH 01/11] fix: resolve 404 page asset loading on nested routes Signed-off-by: Bhumika Garg --- layouts/404.html | 1 - layouts/partials/favicon.html | 8 ++++---- layouts/partials/head-css.html | 4 +--- layouts/partials/navbar.html | 20 ++++++++++---------- 4 files changed, 15 insertions(+), 18 deletions(-) diff --git a/layouts/404.html b/layouts/404.html index 410580771b7..7549b8132ff 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -31,7 +31,6 @@

Not found

{{ partial "footer.html" . }} - {{ partial "scripts.html" . }} diff --git a/layouts/partials/favicon.html b/layouts/partials/favicon.html index 5252ddc753e..bbb90eacce4 100644 --- a/layouts/partials/favicon.html +++ b/layouts/partials/favicon.html @@ -1,9 +1,9 @@ - - - + + + - + \ No newline at end of file diff --git a/layouts/partials/head-css.html b/layouts/partials/head-css.html index b2d8a058879..522fe1ad26f 100644 --- a/layouts/partials/head-css.html +++ b/layouts/partials/head-css.html @@ -20,9 +20,7 @@ {{ end -}} {{ with $css -}} - + {{ else -}} {{ errorf "Resource not found or error building CSS: %s" $scssMain -}} {{ end -}} diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index a7bdc93a78b..8ab1ff96ebb 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -9,7 +9,7 @@ @@ -48,7 +48,7 @@ >
Meshery Logo
@@ -62,7 +62,7 @@ >
Meshery Logo
@@ -91,7 +91,7 @@ data-toggle="dropdown" style="padding-top:6px" > - Products + Products + {{ partial "scripts.html" . }} From 998fca7ccad3d7b95cc3a2c92df98687932120c8 Mon Sep 17 00:00:00 2001 From: Bhumika Garg Date: Thu, 4 Jun 2026 00:45:54 +0530 Subject: [PATCH 06/11] working for preview Signed-off-by: Bhumika Garg --- layouts/404.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/404.html b/layouts/404.html index 02582de83cc..abaf9a12713 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,7 +1,8 @@ - {{ partial "head.html" . }} + + {{ partial "head.html" . }}
From bb72ce26ddd7ba4d1e734f2d22fde4d157a43e65 Mon Sep 17 00:00:00 2001 From: Bhumika Garg Date: Thu, 4 Jun 2026 01:17:16 +0530 Subject: [PATCH 07/11] working for preview Signed-off-by: Bhumika Garg --- layouts/404.html | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/404.html b/layouts/404.html index abaf9a12713..b883569a50c 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -24,6 +24,7 @@ {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }} {{ block "main" . }}

Not found

+

BHumika

Oops! This page doesn't exist.

Please let us know about this issue and return to the home page.

{{ end }} From e81b4988ccbe7977d12ae8c277de3e1664cd98d7 Mon Sep 17 00:00:00 2001 From: Bhumika Garg Date: Thu, 4 Jun 2026 01:47:34 +0530 Subject: [PATCH 08/11] working for preview Signed-off-by: Bhumika Garg --- content/en/_index.md | 2 +- layouts/404.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/content/en/_index.md b/content/en/_index.md index cf1084b862e..6a488dd2ce1 100644 --- a/content/en/_index.md +++ b/content/en/_index.md @@ -7,7 +7,7 @@ description: > {{< blocks/cover title="" image_anchor="top" height="full" >}}
-

Expect more from your infrastructure

+

Expect more from Bhyour infrastructure

Design your path diff --git a/layouts/404.html b/layouts/404.html index b883569a50c..cb1d8221dc7 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,7 +1,6 @@ - {{ partial "head.html" . }} From c8a2af0e9ec9c765395d690922dd9851c911ec02 Mon Sep 17 00:00:00 2001 From: Bhumika Garg Date: Thu, 4 Jun 2026 02:15:10 +0530 Subject: [PATCH 09/11] refactor: limit 404 asset fix to 404 page --- layouts/404.html | 1 + layouts/partials/head-css.html | 4 ++-- layouts/partials/navbar.html | 20 ++++++++++---------- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/layouts/404.html b/layouts/404.html index cb1d8221dc7..b883569a50c 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,6 +1,7 @@ + {{ partial "head.html" . }} diff --git a/layouts/partials/head-css.html b/layouts/partials/head-css.html index f5a3db4c79c..b2d8a058879 100644 --- a/layouts/partials/head-css.html +++ b/layouts/partials/head-css.html @@ -16,11 +16,11 @@ {{ if hugo.IsProduction -}} {{ $css = $css | minify | fingerprint -}} - + {{ end -}} {{ with $css -}} - {{ else -}} diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 8ab1ff96ebb..a7bdc93a78b 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -9,7 +9,7 @@ @@ -48,7 +48,7 @@ >
Meshery Logo
@@ -62,7 +62,7 @@ >
Meshery Logo
@@ -91,7 +91,7 @@ data-toggle="dropdown" style="padding-top:6px" > - Products + Products