feat: add Open Graph and Twitter Card metadata for social sharing - #60
feat: add Open Graph and Twitter Card metadata for social sharing#60Aniket-The-TechWhiz wants to merge 2 commits into
Conversation
|
Thanks @Aniket-The-TechWhiz. The Open Graph and Twitter Card tags themselves are correct, and skipping 1. Missing DCO sign-off. Neither commit on this branch has a git rebase --signoff upstream/main
git push --force-with-lease2. This branch includes the Draft PR glossary card from #59. It looks like you branched off 3. Unrelated reformatting. The existing After that this is good to go. It closes #49. |
Summary
This PR adds Open Graph and Twitter Card metadata to
src/index.htmlto improve link previews when the site is shared on platforms such as LinkedIn, X (Twitter), Slack, Discord, and WhatsApp.Changes Made
og:titleog:descriptionog:typewith the valuewebsiteog:urlpointing to the live GitHub Pages sitetwitter:cardwith the valuesummaryNotes
https://ayushmore1214.github.io/FirstCommit/.og:imagewas intentionally not added because a hosted image is not currently available. The issue notes that adding the text metadata alone is a complete and valuable improvement.