Skip to content

Add OpenGraph image and Twitter card metadata#16

Merged
stefan-burke merged 1 commit into
mainfrom
terragon/add-opengraph-image-tag-9xkzek
Oct 16, 2025
Merged

Add OpenGraph image and Twitter card metadata#16
stefan-burke merged 1 commit into
mainfrom
terragon/add-opengraph-image-tag-9xkzek

Conversation

@stefan-burke
Copy link
Copy Markdown
Member

Summary

  • Adds OpenGraph meta tags for social sharing and Twitter card metadata to improve previews.
  • Uses an absolute image URL to ensure compatibility across platforms.

Changes

Files

  • _includes/head-scripts.html: Injected OpenGraph and Twitter meta tags into the head.

Details

Testing plan

  • Validate that the meta tags appear in the page head (view source or devtools)
  • Check Open Graph preview using Facebook Sharing Debugger for the site URL
  • Check Twitter card rendering in Twitter Card Validator
  • Ensure URLs are correct and accessible (HTTPS, domain).

Notes

  • No existing behavior affected; this only adds metadata for social previews.

🌿 Generated by Terry


ℹ️ Tag @terragon-labs to ask questions and address PR feedback

📎 Task: https://www.terragonlabs.com/task/f8f4ddfa-fcb7-4541-b58a-b5e72100ae0f

Add meta tags for og:image, og:image dimensions, alt text, and Twitter summary card to improve social media link previews.

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
@stefan-burke stefan-burke merged commit a6af72a into main Oct 16, 2025
4 checks passed
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.

1 participant