Skip to content

Instantly share code, notes, and snippets.

@const-g
Created August 12, 2013 12:52
Show Gist options
  • Save const-g/6210560 to your computer and use it in GitHub Desktop.
Save const-g/6210560 to your computer and use it in GitHub Desktop.
<snippet>
<content><![CDATA[
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="dns-prefetch" href="//fonts.googleapis.com" />
<title>$1</title>
<meta name="description" content="$2">
<meta name="keywords" content="$3">
<meta name="author" content="$4">
<meta name="geo.placename" content="$5">
<!--[if IE]><meta http-equiv="imagetoolbar" content="no" /><![endif]-->
<meta name="viewport" content="width=device-width, maximum-scale=1" />
<meta property="og:title" content="$1" />
<meta property="og:description" content="$6" />
<meta property="og:url" content="$7" />
<meta property="og:image" content="$8" />
<meta property="og:site_name" content="$9" />
<link rel="canonical" href="$7" type="text/html" />
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml" />
<link rel="shortcut icon" href="/images/favicon.png" />
<link rel="apple-touch-icon" href="/images/apple-touch-icon.png" />
<link rel="stylesheet" type="text/css" href="$10" />
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
</head>
<body>
<header id="header">
<h1>$11</h1>
<nav>
<ul id="topNav">
<li>$12</li>
</ul>
</nav>
</header>
<section id="content">
$13
</section>
<footer>
$14
</footer>
<!-- footer scripts -->
</body>
</html>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>html</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<description>html5 start snippet. http://const.fr</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment