Skip to content

Keep 404 and marketing metadata off the homepage - #22

Merged
0thernet merged 3 commits into
mainfrom
fix/public-seo-metadata
Aug 20, 2026
Merged

Keep 404 and marketing metadata off the homepage#22
0thernet merged 3 commits into
mainfrom
fix/public-seo-metadata

Conversation

@0thernet

Copy link
Copy Markdown
Contributor

Summary

  • Root layout now keeps only inheritable site-wide defaults, so unmatched routes no longer reuse the homepage title, canonical, or index, follow.
  • not-found.tsx owns a distinct Not found · HRA title, noindex, and no homepage canonical.
  • Public marketing pages keep a single H1 (boot chrome no longer emits Opening HRA…) and HTML titles match Open Graph titles.

Test plan

  • bun test focused discovery, landing, appearance, and routing tests in apps/web
  • bun run typecheck and bun run lint in apps/web
  • bun run build:app prerendered /, /download, /alternatives, comparison routes, and /_not-found
  • next start --port 4111 + curl confirmed HTTP 404 metadata, one H1 per marketing page, and title = og:title
  • Required CI job on this PR

Root layout no longer publishes homepage identity, so unmatched routes get a distinct noindex 404 and public pages keep one H1 and matching social titles.
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hra Ready Ready Preview Aug 20, 2026 7:10pm

Request Review

The SEO metadata import shifted the audited OPRTE line, so the public-boundary hash needs to match the current file.
@0thernet
0thernet enabled auto-merge (squash) August 20, 2026 19:27
@0thernet
0thernet merged commit c261a91 into main Aug 20, 2026
5 checks passed
@0thernet
0thernet deleted the fix/public-seo-metadata branch August 20, 2026 19:36
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