Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save awavering/2762d7608c5149bab456a853da065ef3 to your computer and use it in GitHub Desktop.
Save awavering/2762d7608c5149bab456a853da065ef3 to your computer and use it in GitHub Desktop.
<!-- Place in head of website -->
<!-- Schema.org markup for Google+ -->
<meta itemprop="name" content="{Site Name}">
<meta itemprop="description" content="{Description}">
<meta itemprop="image" content="{Site logo - URL}">
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="{Site Name}">
<meta name="twitter:title" content="{Page Title}">
<meta name="twitter:description" content="{Description}">
<meta name="twitter:creator" content="{@handle}">
<-- Twitter Summary card images must be at least 120x120px -->
<meta name="twitter:image" content="{Logo or Image - URL}">
<!-- Open Graph data -->
<meta property="og:title" content="{Page Title}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://www.example.com/" />
<meta property="og:image" content="{Logo or Image - URL}" />
<meta property="og:description" content="{Description}" />
<meta property="og:site_name" content="{Site Name}" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment