fix(landing): use blog metadata for social previews#326
Merged
Conversation
siisee11
enabled auto-merge (squash)
July 23, 2026 19:04
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.
One-Line Summary
Blog links shared to Slack now show the individual post title and thumbnail instead of falling back to generic OneQuery metadata.
User-Facing Changes
Why This Changed
The previous selector accepted only wide images with a 1.45–2.2 aspect ratio and at least 1200px width. The Jam post uses a 1254×1254 cover, so it was rejected and the page fell back to the generic OneQuery image. Open Graph title also inherited the document title suffix.
How It Changed
coverImage.ogTitlemetadata property while retaining the SEO document title.Bug Fixes
Verification
bun run formatbun run typecheckMISE_AUTO_INSTALL=0 mise exec -- bun run buildMISE_AUTO_INSTALL=0 mise exec -- bunx turbo test --json(20/20 tasks passed)bun run --cwd apps/landing test(28/28 tests passed)og:title,og:image, Twitter title/image, and 1254×1254 dimensionsbun run knipcould not complete because the local ignored.onequery/dev/secrets.tomlprofile is missing required sectionsVideo / Screenshot (Optional)
N/A