Last active
February 25, 2024 21:43
-
-
Save pketh/0820f8a97f706f299907497c224cd744 to your computer and use it in GitHub Desktop.
seo meta tags for social unfurling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// facebook open graph tags | |
meta(property="og:type" content="website") | |
meta(property="og:url" content=url) | |
meta(property="og:title" content=title) | |
meta(property="og:description" content=description) | |
meta(property="og:image" content=frog2x) | |
// twitter card tags (stack with og: tags) | |
meta(name="twitter:card" content="summary") | |
meta(name="twitter:site" content="@pketh") | |
meta(name="twitter:title" content=title) | |
meta(name="twitter:description" content=description) | |
meta(name="twitter:image" content=frog2x) | |
meta(name="twitter:image:alt" content="A frog with feelings") | |
meta(name="twitter:url" content=url) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment