Skip to content

fix: use root-relative baseURL and update repo links in docs#6

Merged
jwilder merged 1 commit intomainfrom
fix/docs-base-url-and-repo-links
Apr 9, 2026
Merged

fix: use root-relative baseURL and update repo links in docs#6
jwilder merged 1 commit intomainfrom
fix/docs-base-url-and-repo-links

Conversation

@jwilder
Copy link
Copy Markdown
Contributor

@jwilder jwilder commented Apr 9, 2026

Summary

  • Set Hugo baseURL to "/" so all asset paths (CSS, images, JS, navigation links) are root-relative, fixing broken styling on the deployed GitHub Pages site at legendary-sniffle-6qv7eqr.pages.github.io
  • Update repo param and GitHub menu link from project-unbounded/unbounded-kube to Azure/unbounded-kube

Problem

The baseURL was set to https://project-unbounded.github.io/unbounded-kube/, causing Hugo's relURL function to generate paths prefixed with /unbounded-kube/ (e.g., /unbounded-kube/css/style.css). Since the site is actually deployed at the root of legendary-sniffle-6qv7eqr.pages.github.io, all 29 asset references across templates were returning 404s — breaking CSS, images, favicon, navigation, and search.

Fix

Setting baseURL = "/" makes relURL produce clean root-relative paths like /css/style.css, which resolve correctly on any domain where the site is served from root. This removes the dependency on any specific domain or subpath.

Set baseURL to "/" so Hugo generates root-relative asset paths,
fixing broken CSS, images, and navigation on the deployed GitHub
Pages site. The previous baseURL pointed to a subpath on a different
domain than the actual deployment target.

Also update the repo parameter and GitHub menu link from
project-unbounded/unbounded-kube to Azure/unbounded-kube.
@jwilder jwilder merged commit 0feea96 into main Apr 9, 2026
7 of 8 checks passed
@jwilder jwilder deleted the fix/docs-base-url-and-repo-links branch April 9, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant