Skip to content

Instantly share code, notes, and snippets.

@gregogalante
Last active February 12, 2016 13:07
Show Gist options
  • Save gregogalante/2256688525dacc87d4f6 to your computer and use it in GitHub Desktop.
Save gregogalante/2256688525dacc87d4f6 to your computer and use it in GitHub Desktop.
Metatags base per il supporto social da parte del sito web.
<meta name="description" content="Page description. No longer than 155 characters." />
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@publisher_handle">
<meta name="twitter:title" content="Page Title">
<meta name="twitter:description" content="Page description less than 200 characters">
<meta name="twitter:creator" content="@author_handle">
<!-- Twitter Summary card images must be at least 120x120px -->
<meta name="twitter:image" content="http://www.example.com/image.jpg">
<!-- Open Graph data -->
<meta property="og:title" content="Title Here" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://www.example.com/" />
<meta property="og:image" content="http://example.com/image.jpg" />
<meta property="og:description" content="Description Here" />
<meta property="og:site_name" content="Site Name, i.e. Moz" />
<meta property="fb:admins" content="Facebook numeric ID" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment