Skip to content

Fix GitHub Pages asset paths with Vite base URL#23

Merged
wodeni merged 1 commit intomasterfrom
fix-pages-base-url
Mar 1, 2026
Merged

Fix GitHub Pages asset paths with Vite base URL#23
wodeni merged 1 commit intomasterfrom
fix-pages-base-url

Conversation

@wodeni
Copy link
Owner

@wodeni wodeni commented Mar 1, 2026

Summary

  • update index.html media stylesheet links to use %BASE_URL%
  • ensure built output uses repo-aware paths on GitHub Pages subpath deployments

Why

The deployed site was trying to load root-relative assets, causing 404s when hosted under /nimo-markdown-cv/.

Validation

  • local build passes
  • build with GITHUB_ACTIONS=true and GITHUB_REPOSITORY=wodeni/nimo-markdown-cv produces /nimo-markdown-cv/media/... and /nimo-markdown-cv/assets/... paths

@wodeni wodeni merged commit 4eb15f3 into master Mar 1, 2026
2 checks passed
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