Created
October 1, 2012 06:52
-
-
Save snowman-repos/3809964 to your computer and use it in GitHub Desktop.
HTML: starter template (sublime)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
<!doctype html> | |
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
<!-- | |
********************************************* | |
This website was designed & created by | |
${1:%NAME%} | |
${2:%DATE%} | |
${3:%%VERSION%} | |
********************************************* | |
//--> | |
<head> | |
<title>${4:%TITLE%}</title> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="description" content="${5:%DESCRIPTION%}"> | |
<meta name="keywords" content="${6:%KEYWORDS%}"> | |
<meta name="author" content="${7:%NAME%}"> | |
<meta name="copyright" content="${8:%NAME%}"> | |
<meta name="distribution" content="Global"> | |
<meta name="rating" content="General"> | |
<meta name="robots" content="INDEX,FOLLOW"> | |
<meta name="revisit-after" content="1 Month"> | |
<meta name="viewport" content="width=device-width,initial-scale=1"> | |
<link rel="stylesheet" href="css/style.css"> | |
<!--[if lt IE 9]><script type="text/javascript" src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> | |
</head> | |
<body> | |
<header> | |
${9:} | |
</header> | |
<div class="content-wrapper"> | |
${10:} | |
</div> | |
<footer> | |
${11:} | |
</footer> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.1.min.js"><\/script>')</script> | |
<script src="js/script.js"></script> | |
<script> | |
var _gaq=[['_setAccount','${12:}'],['_trackPageview']]; | |
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1; | |
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; | |
s.parentNode.insertBefore(g,s)}(document,'script')); | |
</script> | |
</body> | |
</html> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>htmlstart</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment