Repository navigation
/docs and /contact were the only two pages with no share card - #2761
Merged
Merged
Conversation
An SEO pass over the pages shipped today found both of them missing og:image. 39 routes carry their own opengraph-image.tsx; these two were the exception, and the root one does not cascade, so a link to either unfurled on X, Slack or LinkedIn as a bare URL with no picture. Both now render through the same renderHubOG template as every other hub, with the same 24 h revalidate: the card changes slowly and unfurlers fetch it constantly, so regenerating ~1-2 s of satori CPU per request is what the revalidate exists to avoid. The /docs meta description was 254 characters, which Google truncates at roughly 160. Rewritten at 148, which is one line a search result can actually show.
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.
Cherry-pick of
b163ad3320da6dcfa5c5448ee9dc0a9978d7189cfrom dev (#2760). This commit only.39 routes carry their own
opengraph-image.tsx;/docsand/contactwere the exception, and the root one does not cascade, so both unfurled as a bare URL. Both now use the samerenderHubOGtemplate and 24 h revalidate as every other hub.The
/docsmeta description was 254 characters against Google's ~160 truncation; rewritten at 148.