fenbox commented on issue #897:
URL:
https://github.com/apache/incubator-answer/issues/897#issuecomment-2078548010
@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:
- [The Open Graph protocol](https://ogp.me/)
https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards
- [About Twitter
Cards](https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]