Skip to content

Commit f1f7134

Browse files
committed
fix(site): update baseURL and sidebar links
Fixed the baseURL format by adding a trailing slash for consistency. Updated link handling in the sidebar to use relative URLs instead of absolute ones, improving flexibility across different environments.
1 parent f347cf6 commit f1f7134

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

hugo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
baseURL = 'https:/aurelia.io/website'
1+
baseURL = 'https://aurelia.io/website/'
22
languageCode = 'en-us'
33
title = 'Aurelia'
44
theme='aurelia-theme'

themes/aurelia-theme/hugo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
baseURL = 'https://aurelia.io/website'
1+
baseURL = 'https://aurelia.io/website/'
22
languageCode = 'en-US'
33
title = 'Aurelia'
44

themes/aurelia-theme/layouts/partials/sidebar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
{{ partial "menu-item.html" . }}
2424
</a>
2525
{{ else }}
26-
<a href="{{ .link | absURL }}">
26+
<a href="{{ .link | relURL }}">
2727
{{ partial "menu-item.html" . }}
2828
</a>
2929
{{ end }}

0 commit comments

Comments
 (0)