BUG: 404 page shows bare 'Not Found' with no site chrome #54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When visiting an article page that wasn't built (see SSG crash bug), or any genuinely missing URL, the user sees plain "Not Found" text on a white page with:
This is a dead-end for the user.
Location
Preview server at `scripts/preview-serve.ts` lines 92-104 — returns raw text for 404.
Expected
Full site layout (header + footer) with friendly message, search box, and links to popular articles.
Fixed in
589b790. The 404 fallback now returns a styled HTML page with a heading, description, link to /, and search hint — instead of bare plain text. Keeps the try for dist/404.html first.