Fix sitemap social preview images#172
Merged
Merged
Conversation
Add the existing Punk Rock AI fallback only where Open Graph images were missing, and mirror every sitemap page image for Twitter. Extend index hygiene with canonical-site URL enforcement and focused regression tests.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Agentic PR ReviewVerdict: needs-human Checks:
This PR is not blocked from human review, but the agentic gate is not satisfied. |
6 tasks
WalksWithASwagger
marked this pull request as ready for review
July 13, 2026 05:36
Agentic PR ReviewVerdict: needs-human Checks:
This PR is not blocked from human review, but the agentic gate is not satisfied. |
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
og:imagetwitter:imagemetadata across all 45 sitemap pages while preserving all 17 existing page-specific Open Graph valuesWhy
The production crawl found all 45 sitemap URLs indexable, but 28 pages had no social-preview image. Because this is a static site with page-owned
<head>markup, the smallest coherent fix touches each sitemap HTML page directly.The checker treats
punkrockai.comandwww.punkrockai.comas the same canonical site host family so the existing page-specific values remain byte-for-byte unchanged. Relative URLs, non-canonical protocols or ports, foreign hosts, missing tags, and mismatched Twitter images fail.Acceptance Self-Check
og:imageog:imagevalues are preservedhttps://www.punkrockai.com/public/slides/neither-are-we.webpfallback is added only to the 28 prior gapstwitter:imagevalues match their Open Graph image200 image/webpin local HTTP smokeVerification
npm run seo:index-hygienenpm run check200 text/html; all 13 unique referenced images returned200 image/*200 image/webp, 75,474 bytesgit diff --checkScope
The diff is 48 files and 285 insertions / 1 deletion: 45 static sitemap HTML files plus the existing checker, one focused test file, and the package test script. The issue explicitly requires full sitemap coverage. No deployment or Search Console, GA4, or DNS changes were performed.
Closes #171