Skip to content

Add a custom 404 page#1415

Merged
jchate6 merged 2 commits intodevfrom
1404-handle-404-errors
Feb 24, 2026
Merged

Add a custom 404 page#1415
jchate6 merged 2 commits intodevfrom
1404-handle-404-errors

Conversation

@Fingel
Copy link
Copy Markdown
Contributor

@Fingel Fingel commented Feb 18, 2026

Wow! the issue number is #1404 coincidence?

image

@Fingel Fingel requested review from jchate6 and phycodurus February 18, 2026 23:05
@Fingel Fingel linked an issue Feb 18, 2026 that may be closed by this pull request
@jchate6 jchate6 moved this to Needs Review in TOM Toolkit Feb 19, 2026
Copy link
Copy Markdown
Contributor

@jchate6 jchate6 left a comment

Choose a reason for hiding this comment

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

This looks good. A couple questions:
It looks like we loose all of our icons and css things when we set debug = False. Do you understand why this happens? I think that also means I can't test making my own local 404 page.

@Fingel
Copy link
Copy Markdown
Contributor Author

Fingel commented Feb 19, 2026

Turning off debug switches how static files are served: they won’t be served by the development server anymore. It does make it a pain to test the custom 404 page. That’s why all the styling is inline in this PR.

Copy link
Copy Markdown
Member

@phycodurus phycodurus left a comment

Choose a reason for hiding this comment

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

haha :-)

@jchate6 jchate6 merged commit bd73428 into dev Feb 24, 2026
26 checks passed
@github-project-automation github-project-automation bot moved this from Needs Review to Merged (to dev) in TOM Toolkit Feb 24, 2026
@jchate6 jchate6 deleted the 1404-handle-404-errors branch February 24, 2026 19:26
@jchate6 jchate6 moved this from Merged (to dev) to Released in TOM Toolkit Feb 24, 2026
@Fingel Fingel self-assigned this Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

handle 404 errors with a designated error page that keeps the nav bar

3 participants