SEO: fix missing sitemap route + page-specific social metadata - #25
Merged
Conversation
The track is fully published (22 chapters) and registered in learn-nav/learn-routes/learn-types, but was absent from the sitemap's static route list, leaving it without a first-party discovery signal for search engines.
Without its own openGraph/twitter block, this page inherited the homepage's title and description when shared on social — so a link to /about previewed as the homepage.
Same fix as /about — shares of /courses were previewing the homepage's title and description instead of the courses page's own.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
@735meis looks good, thanks for fixing the bugs I had and the tasks not completely finished |
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.
What
/learn/computer-visionroute tositemap.ts— the track is fully published (22 chapters) but had no sitemap entry, so it had no first-party discovery signal for search engines.openGraph/twittermetadata to/about,/courses,/join,/impact,/contact,/donate, and/media. Previously these pages had noopenGraph/twitteroverrides, so they inherited the homepage's title/description from the root layout — meaning a shared link to any of these pages previewed as the homepage on social/Slack/iMessage.Why
Goal: more organic + social discovery of the site. Both issues were silently costing us clicks — one on crawl/indexing, the other on social CTR.
Verification
npm run typecheck✅npm run lint✅npm run learn:check✅ (confirms computer-vision is a real, published track)cc @samanyugoyal2010
🤖 Generated with Claude Code