We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are no og: and twitter: meta tags, at least on the / page. As a result sharing on social media is not very good looking.
og:
twitter:
/
Add og: and twitter: meta tags to at least the / page. example
<meta name="og:title" content="Questions and Answers"> <meta name="twitter:title" content="Questions and Answers">
Continue having a poor social media experience
The text was updated successfully, but these errors were encountered:
@fenbox I would like to take a look at this. What should be the ideal social media share experience?
Sorry, something went wrong.
@prithvidasgupta I think it should be something like the one below to make it easier to show on social media.
<meta property="og:type" content="website" /> <meta property="og:url" content="{{ canonical url }}" /> <meta property="og:site_name" content="{{ site name }}" /> <meta property="og:image" itemprop="image primaryImageOfPage" content="{{ apple touch icon }}" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:domain" content="{{ site url }}" /> <meta name="twitter:title" property="og:title" itemprop="name" content="{{ post title }}" /> <meta name="twitter:description" property="og:description" itemprop="description" content="{{ description }}" />
Reference:
@fenbox The image should be
If question page has a primary image show it Else show the logo
Websites like stackoverflow might be doing something like this I guess (not sure?)
If question page has a primary image show it
Else show the logo
@prithvidasgupta Yes, it's really more friendly.
prithvidasgupta
No branches or pull requests
Is your feature request related to a problem? Please describe
There are no
og:
andtwitter:
meta tags, at least on the/
page.As a result sharing on social media is not very good looking.
Describe the solution you'd like
Add
og:
andtwitter:
meta tags to at least the/
page.example
Describe alternatives you've considered
Continue having a poor social media experience
The text was updated successfully, but these errors were encountered: