Repository navigation
feat: social share card meta (og/twitter) - #3
Merged
Merged
Conversation
Add a 1200x630 paper/ink share image and site-wide Open Graph / Twitter tags so pasted links show a large preview card. Pages keep their own title and description. Co-authored-by: froQ <sayhola@froq.me>
0froq
marked this pull request as ready for review
October 12, 2026 14:09
Pages hostname ui-a09.pages.dev is gone. Canonical and og:image URLs now use the live production domain. Co-authored-by: froQ <sayhola@froq.me>
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.
Site-wide Open Graph and Twitter tags so pasted links show a large preview card. Pages that already have their own title/description keep those in the share tags.
Tags
On every page:
twitter:card=summary_large_imageog:title,og:descriptionog:image(absolute URL, 1200×630 PNG)og:image:secure_url,og:image:type,og:image:width,og:image:height,og:image:altog:url(canonical absolute URL)og:type(websiteby default;articleon docs and generic content pages)og:site_name=froq/uitwitter:title,twitter:description,twitter:image,twitter:image:altog:image URL
https://ui.froq.me/og.pngProduction origin is
https://ui.froq.me(live 200). README updated to match. The old Pages hostnameui-a09.pages.devis gone.Open Graph share image
Per-page overrides
froq/ui, description fromhero.lede(locale-aware)/docs/*): contenttitle/description,og:type=articlecomponents.title/components.lededescriptionchangelog.title/changelog.ledenotFound.title/ status messageGenerated HTML
pnpm generateprerendered 284 routes. All 140 HTML files containtwitter:card=summary_large_imageandhttps://ui.froq.me/og.png. No leftoverui-a09.pages.dev.dist/index.html:dist/docs/install/index.html(per-page title/description/og:type=article):Coverage:
To show artifacts inline, enable in settings.