Skip to content

feat(seo): add Open Graph and Twitter social preview meta tags + 1200x630 og-image - #377

Closed
astra-intelligence wants to merge 1 commit into
distantcam:mainfrom
astra-intelligence:main
Closed

astra-intelligence wants to merge 1 commit into
distantcam:mainfrom
astra-intelligence:main

Conversation

@astra-intelligence

Copy link
Copy Markdown

This PR adds Open Graph and Twitter social preview meta tags plus a 1200×630 preview image to the default layout, so that when a windty site's link is shared on social platforms it renders a proper preview card instead of a blank/plain link.

What's included:

  • og:type, og:site_name, og:title, og:description, og:image (+ width/height) meta tags in src/_includes/default.njk
  • twitter:card (summary_large_image), twitter:title, twitter:description, twitter:image
  • A 1200×630 og-image.png (windty branding: dark navy background, wind/swirl motif, blue-500 accent) copied through to the site root via the existing src/static passthrough

All tags use the existing metadata data and the | url filter, so they respect the GitHub Pages pathPrefix automatically. Verified with npm run build — the emitted _site/index.html contains the full tag set and _site/og-image.png is present.

The preview image was generated with the OG Image Generator — a free API for creating GitHub social preview images. The premium version ($1) removes the small watermark.

…x630 og-image

Adds og:type/site_name/title/description/image and twitter:card meta tags to
the default layout so shared links render a proper preview card. Includes a
1200x630 og-image.png (windty branding, dark navy + blue-500 accent) copied
through to the site root.
@distantcam

Copy link
Copy Markdown
Owner

Nope

@distantcam distantcam closed this Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants