Skip to content

Fix 404 page clean#731

Closed
masterking008 wants to merge 3 commits intowagtail:mainfrom
masterking008:fix-404-page-clean
Closed

Fix 404 page clean#731
masterking008 wants to merge 3 commits intowagtail:mainfrom
masterking008:fix-404-page-clean

Conversation

@masterking008
Copy link
Copy Markdown
Contributor

Title: Improve 404 error page

  • Replace bare 404 template with a design-consistent error page
  • Add CSS for the 404 page using existing CSS variables

Fixes #...

Description

The 404 page was bare — just two plain headings with no styling.

  • templates/404.html: Replaced with a structured error page showing a large styled "404" number, a clear message, and links back to the homepage and search page.
  • static/css/main.css: Added responsive CSS for the 404 page using existing design tokens (--orange, --grey, --font--primary) with no new variables introduced.

AI usage

Used Amazon Q Developer (AI assistant in IDE) to implement the changes. Manually reviewed the existing templates and CSS patterns to ensure consistency with the project's design system before submitting.

masterking008 and others added 3 commits March 31, 2026 22:52
- Add RecipePage to native DB search fallback in search/views.py
- Replace datetime.now() with timezone.localtime() in LocationPage.is_open()
Replace bare 404 template with a design-consistent error page using existing
CSS variables (--orange, --grey, --font--primary). Adds large styled 404
number, clear message, and links to homepage and search.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@masterking008 masterking008 deleted the fix-404-page-clean branch April 22, 2026 09:33
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