Skip to content

fix(build): use directory-style URLs for static hosting#77

Merged
LeeCheneler merged 1 commit into
mainfrom
fix/static-hosting-paths
Dec 21, 2025
Merged

fix(build): use directory-style URLs for static hosting#77
LeeCheneler merged 1 commit into
mainfrom
fix/static-hosting-paths

Conversation

@LeeCheneler
Copy link
Copy Markdown
Contributor

Summary

  • Output pages as route/index.html instead of route.html for static hosting compatibility
  • Enables clean URLs on GitHub Pages, Netlify, Vercel, etc.
  • System pages (_not-found.html, _error.html) unchanged

Changes

Route Before After
/about about.html about/index.html
/blog/post blog/post.html blog/post/index.html
/ index.html index.html (unchanged)

Test plan

  • Builder tests pass
  • Pre-commit hooks pass

🤖 Generated with Claude Code

Output pages as `route/index.html` instead of `route.html` for
compatibility with static hosting platforms (GitHub Pages, Netlify, etc).

- `/about` -> `about/index.html` (was `about.html`)
- `/blog/post` -> `blog/post/index.html` (was `blog/post.html`)
- System pages (`_not-found.html`, `_error.html`) unchanged

Bump version to 0.7.5

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@LeeCheneler LeeCheneler enabled auto-merge (squash) December 21, 2025 11:09
@LeeCheneler LeeCheneler merged commit 97e26e4 into main Dec 21, 2025
2 checks passed
@LeeCheneler LeeCheneler deleted the fix/static-hosting-paths branch December 21, 2025 11:09
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