Repository navigation
feat(seo): add Open Graph + Twitter social preview (og:image) meta tags - #4
Open
astra-intelligence wants to merge 1 commit into
Open
astra-intelligence wants to merge 1 commit into
astra-intelligence wants to merge 1 commit into
Conversation
index.html had title+description but zero og:/twitter: tags, so every shared link rendered as a blank card. Add the full OG set (type, site_name, url, title, description, 1200x630 image + dims) and Twitter Card summary_large_image with absolute production URLs, plus a branded 1200x630 og-image.png generated from the site's own palette (#0a0c10 ground, fiery puzzle-piece sentry mark) via a portable Pillow-only generator.
This branch has not been deployed
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
Adds Open Graph + Twitter Card social preview metadata and a branded 1200×630 preview image to the ExtSentry site.
Problem:
index.htmlhas a<title>and<meta name="description">, but zeroog:/twitter:tags. Every time an ExtSentry link is shared on Twitter/X, LinkedIn, Slack, Discord, or iMessage, the unfurl shows a blank card with no image, no title, and no description — a wasted impression for a threat-intelligence feed that gets shared in security channels constantly.What's included:
og:type,og:site_name,og:url,og:title,og:description,og:image(+ width/height/type), with absolute production URLs — works locally atfile://and in CI.summary_large_image(title/description/image).og-image.png— a 1200×630 card built from the site's own dark palette (#0a0c10ground, orange accent) with the puzzle-piece sentry mark, wordmark, and threat-intel feed chips.scripts/gen-og-image.py— a portable, Pillow-only generator (no machine paths, no network deps) so the image is reproducible from a fresh checkout.Verified: image is a valid 1200×630 PNG; generator runs from repo root; all 14 tags present in the built
index.html.Live preview: https://extsentry.github.io/ (after merge, shares will unfurl as cards)