Skip to content
New issue

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

Support twitter and opengraph meta tags #27

Closed
rothgar opened this issue Jan 12, 2022 · 1 comment
Closed

Support twitter and opengraph meta tags #27

rothgar opened this issue Jan 12, 2022 · 1 comment

Comments

@rothgar
Copy link

rothgar commented Jan 12, 2022

I love the emphasis on images in this theme. Is it possible to also support meta tags for social link previews?

https://ogp.me/ and https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/summary-card-with-large-image

I did a couple tests and tried to search the code but I didn't see any support for social previews.

@apvarun
Copy link
Owner

apvarun commented Feb 3, 2022

Hey @rothgar Both of them are already supported.

You can check how to utilise it at site level or page level here:
https://gohugo.io/templates/internal/#configure-open-graph
https://gohugo.io/templates/internal/#configure-twitter-cards

@apvarun apvarun closed this as completed Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants