Files
Kieran Klaassen aa39a7cd11 fix(site): make built HTML work at any base path
The build is for every.to/compound-engineering, so on the GitHub Pages
origin every stylesheet, image, and link 404ed. A post_render hook now
rewrites the base-path-absolute href, src, and theme data attributes to
page-relative paths, so the same build serves every.to, the github.io
origin, and a local server. Canonical, Open Graph, sitemap, and llms.txt
URLs stay absolute on every.to. Unit tests cover the rewrite and the
fixture build asserts relative output.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-09 16:47:35 -07:00
..