feat: add dynamic Open Graph and Twitter Card meta tags to project pages#143
Conversation
|
@sat-06 is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Hi @komalharshita |
komalharshita
left a comment
There was a problem hiding this comment.
Nice contribution — this is a clean and useful SEO/social-sharing enhancement.
The Open Graph and Twitter Card tags are implemented correctly using dynamic project data, and the changes are well-scoped without affecting existing functionality.
This will improve how project pages appear when shared across platforms like LinkedIn, Discord, WhatsApp, and Twitter/X.
One optional future improvement could be adding a default og:image / twitter:image preview image, but the current implementation is already good to merge.
Description
Added dynamic Open Graph and Twitter Card meta tags to
templates/project.htmlfor project detail pages.The tags now dynamically render:
This improves social media sharing previews for individual project pages when shared on platforms like LinkedIn, WhatsApp, Discord, and Twitter/X.
Changes Made
og:titleog:descriptionog:typeog:urltwitter:cardtwitter:titletwitter:descriptionTesting
python app.pyCtrl + U)Related Issue
Fixes #94
Screenshots
Added dynamic OG and Twitter meta tags visible in the page source for different project pages.
