From 96b5a02cc0f5aa60a1dd3f3fbbfa2db75a51720e Mon Sep 17 00:00:00 2001 From: Dwayne Charrington Date: Fri, 13 Dec 2024 14:15:35 +1000 Subject: [PATCH] fix(config): update baseURL and sidebar links Changed the baseURL to root for both main and theme config. Updated sidebar link handling to prepend a prefix for relative paths, ensuring correct navigation structure. --- hugo.toml | 2 +- themes/aurelia-theme/hugo.toml | 2 +- themes/aurelia-theme/layouts/partials/sidebar.html | 11 ++++++++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/hugo.toml b/hugo.toml index b5f7915..9a4d3d9 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,4 +1,4 @@ -baseURL = 'https://aurelia.io/website/' +baseURL = '/' languageCode = 'en-us' title = 'Aurelia' theme='aurelia-theme' diff --git a/themes/aurelia-theme/hugo.toml b/themes/aurelia-theme/hugo.toml index 3303d6e..f137c96 100644 --- a/themes/aurelia-theme/hugo.toml +++ b/themes/aurelia-theme/hugo.toml @@ -1,4 +1,4 @@ -baseURL = 'https://aurelia.io/website/' +baseURL = '/' languageCode = 'en-US' title = 'Aurelia' diff --git a/themes/aurelia-theme/layouts/partials/sidebar.html b/themes/aurelia-theme/layouts/partials/sidebar.html index 560bf09..fc71801 100644 --- a/themes/aurelia-theme/layouts/partials/sidebar.html +++ b/themes/aurelia-theme/layouts/partials/sidebar.html @@ -1,6 +1,7 @@