Skip to content

Align docs metadata with the Replay QA landing page - #262

Merged
striderwilsonreplay merged 1 commit into
mainfrom
Update-meta-data
Sep 25, 2026
Merged

striderwilsonreplay merged 1 commit into
mainfrom
Update-meta-data

Conversation

@striderwilsonreplay

Copy link
Copy Markdown
Contributor

Use the landing page title, description, and replayQA_og-image.png so shared links render the same card. Set metadataBase from getSiteOrigin() so og:image resolves to an absolute URL; without it Next fell back to http://localhost:3000.

Skipped the landing page's canonical and og:url: in a root layout they are inherited by every page, which would point the whole site at /.

Also emit one <title> per page. DocsHeader rendered a raw <title> that landed in alongside the one from metadata, so every docs page shipped two. MDX pages now get a generateMetadata export instead.

Use the landing page title, description, and replayQA_og-image.png so
shared links render the same card. Set metadataBase from getSiteOrigin()
so og:image resolves to an absolute URL; without it Next fell back to
http://localhost:3000.

Skipped the landing page's canonical and og:url: in a root layout they
are inherited by every page, which would point the whole site at /.

Also emit one <title> per page. DocsHeader rendered a raw <title> that
landed in <head> alongside the one from metadata, so every docs page
shipped two. MDX pages now get a generateMetadata export instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
@striderwilsonreplay striderwilsonreplay self-assigned this Sep 25, 2026
@vercel

vercel Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
replay-documentation Ready Ready Preview Sep 25, 2026 2:20pm UTC

Request Review

@striderwilsonreplay
striderwilsonreplay merged commit 54f404d into main Sep 25, 2026
7 checks passed

This branch was successfully deployed

1 active deployment
Preview — e9ddfee5 Deployed Sep 25, 2026 by vercel[bot]
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