FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

404: add custom page with scoped path handling by ritorhymes · Pull Request #32 · gitgitgadget/gitgitgadget.github.io · GitHub

404: add custom page with scoped path handling - #32

Merged
dscho merged 1 commit into
gitgitgadget:mainfrom
ritovision:404
Mar 13, 2026
Merged

404: add custom page with scoped path handling#32
dscho merged 1 commit into
gitgitgadget:mainfrom
ritovision:404

Conversation

Copy link
Copy Markdown
Contributor

Summary

Adds a custom 404 page with centered branding, return-home link, and footer. Scopes 404 path handling so assets resolve reliably on 404 URLs without changing normal page behavior.

The default banner is omitted on 404 so the error state and recovery action are immediately clear.

Closes #30


404s are served at unknown, often nested URLs, where relative asset
paths can resolve against missing paths instead of site root.

This keeps 404 assets and navigation resolving from the homepage
context without changing URL behavior on normal pages.

The default banner is omitted on 404 so the error state and recovery
action are immediately clear.

dscho left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Very nice, thanks!

dscho merged commit 632fcfc into gitgitgadget:main Mar 13, 2026
1 check passed

Copy link
Copy Markdown
Contributor Author

You got it!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

No 404 page handling

2 participants


Back | FazBrowse Home | New Git URL