Skip to content

Instantly share code, notes, and snippets.

@bernardodiasc
Created August 10, 2013 19:46
Show Gist options
  • Save bernardodiasc/6201879 to your computer and use it in GitHub Desktop.
Save bernardodiasc/6201879 to your computer and use it in GitHub Desktop.
Meta Tags SEO
<!-- The Metas Output -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-language" content="pt-BR" />
<meta name="viewport" content="width=device-width" />
<meta name="robots" content="index,follow" />
<meta name="generator" content="{website-generator}" />
<meta name="author" content="{website-name}" />
<meta name="copyright" content="© {this-year} {website-name}" />
<meta name="distribution" content="global" />
<meta name="rating" content="general" />
<meta name="revisit-after" content="1 day" />
<meta name="expires" content="never" />
<title>Page Title (about 70 characters adding up the website-name)</title>
<meta name="keywords" content="{key, words, comma, separated, about, 200, characters}" />
<meta name="description" content="{Short description of page content (about 250 characters, 152 for Google snippet)}" />
<meta name="date" content="{December 21, 2012}" />
<!--
Facebook
More info at http://ogp.me/
-->
<meta property="og:type" content="website" />
<meta property="og:title" content="{page-title}" />
<meta property="og:url" content="{current-url}" />
<meta property="og:locale" content="pt_BR" />
<meta property="og:site_name" content="{website-name}" />
<meta property="og:description" content="{description}" />
<meta property="og:image" content="{thumb-image}" />
<!--
Twitter
More info at https://dev.twitter.com/docs/cards
-->
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="{page-title}" />
<meta name="twitter:url" content="{current-url}" />
<meta name="twitter:description" content="{description}" />
<meta name="twitter:image" content="{thumb-image}" />
<meta name="twitter:site" content="{@twitter-site-id}" />
<meta name="twitter:creator" content="{@twitter-creator-id}" />
<!--
Google Plus
More info at http://schema.org/
-->
<meta itemprop="name" content="{page-title}" />
<meta itemprop="url" content="{current-url}" />
<meta itemprop="description" content="{description}" />
<meta itemprop="image" content="{image}" />
<!--
Google Plus Authoring
More info at http://support.google.com/webmasters/bin/answer.py?hl=en&answer=1408986
You also can use <a href="https://plus.google.com/{USERID}?rel=author">AUTHOR NAME</a> inside page content.
-->
<link rel="author" href="https://plus.google.com/{google-plus-id}"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment