Add Open Graph and Twitter Card meta tags to improve social media sharing #152
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.
This commit adds Open Graph and Twitter Card meta tags to the
<head>
section of thebaseof.html
file. These tags enhance the display of website content when shared on social media platforms like Facebook and Twitter.Changes made:
og:image
,og:title
,og:description
,og:url
,og:type
, andog:site_name
for Open Graph.twitter:card
,twitter:title
,twitter:description
, and optionaltwitter:image
for Twitter Card.The values for these tags are dynamically populated based on the content of the page. Additionally,
fb:app_id
is recommended but can be added separately as needed.This enhancement aims to provide a better visual representation when sharing pages from the website on various social networks.