Skip to content

Instantly share code, notes, and snippets.

@justinhough
Created April 7, 2018 19:16
Show Gist options
  • Save justinhough/f1f6da69ed8a59dcae2db6af42713933 to your computer and use it in GitHub Desktop.
Save justinhough/f1f6da69ed8a59dcae2db6af42713933 to your computer and use it in GitHub Desktop.
SEO Standard Header
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<link rel="canonical" href="___PAGE__CANONICAL___" />
<title>___PAGE_TITLE___ | ___SITE_NAME___</title>
<meta name="description" content="___PAGE_DESCRIPTION___">
<meta name="keywords" content="___PAGE__KEYWORDS___">
<!-- Favicon markup -->
<link rel="apple-touch-icon" sizes="180x180" href="___SITE_URL___/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="___SITE_URL___/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="___SITE_URL___/favicons/favicon-16x16.png">
<link rel="manifest" href="___SITE_URL___/favicons/site.webmanifest">
<link rel="mask-icon" href="___SITE_URL___/favicons/safari-pinned-tab.svg" color="#___SITE_COLOR___">
<link rel="shortcut icon" href="___SITE_URL___/favicons/favicon.ico">
<!-- SITE FEED -->
<link rel="alternate" type="application/rss+xml" title="___SITE_NAME___" href="___SITE_URL___/feed.xml" />
<meta name="apple-mobile-web-app-title" content="___SITE_NAME___">
<meta name="application-name" content="___SITE_NAME___">
<meta name="msapplication-TileColor" content="#___SITE_COLOR___">
<meta name="msapplication-config" content="___SITE_URL___/favicons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<!-- Schema.org markup for Google+ -->
<meta itemprop="name" content="___SITE_NAME___">
<meta itemprop="description" content="___PAGE_DESCRIPTION___">
<meta itemprop="image" content="___SITE_URL___/assets/OpenGraph.jpg">
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@___SITE_TWITTER_USER___">
<meta name="twitter:creator" content="@___SITE_TWITTER_USER___">
<meta name="twitter:title" content="___SITE_NAME___">
<meta name="twitter:description" content="___PAGE_DESCRIPTION___">
<meta name="twitter:image" content="___SITE_URL___/assets/social/___PAGE_NAME___-Twitter.jpg">
<!-- Open Graph data -->
<meta property="og:title" content="___PAGE_NAME___" />
<meta property="og:site_name" content="___SITE_NAME___" />
<meta property="og:url" content="___PAGE__CANONICAL___" />
<meta property="og:description" content="___PAGE_DESCRIPTION___" />
<meta property="og:image" content="___SITE_URL___/assets/social/___PAGE_NAME___-OpenGraph.jpg" />
<meta property="og:type" content="og:website" />
<!-- HEADER STYLESHEETS -->
<!-- GOOGLE ANALYTICS -->
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment