Skip to content

Instantly share code, notes, and snippets.

@hchouhan
Last active December 16, 2015 01:09
Show Gist options
  • Save hchouhan/5352597 to your computer and use it in GitHub Desktop.
Save hchouhan/5352597 to your computer and use it in GitHub Desktop.
HTML5 Template for Sublime Text 2
<snippet>
<content><![CDATA[<!DOCTYPE html>
<!--[if IE 7 ]><html id="ie7" lang="en"><![endif]-->
<!--[if IE 8 ]><html id="ie8" lang="en"><![endif]-->
<!--[if IE 9 ]><html id="ie9" lang="en"><![endif]-->
<!-- BEGIN html -->
<html lang="en">
<!-- BEGIN head -->
<head>
<!-- Meta Tags -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11" />
<!-- Title -->
<title>$1</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="css/bootstrap.css" >
<link rel="stylesheet" href="css/font-awesome.min.css" >
<link rel="stylesheet" href="css/style.css" >
<link rel="stylesheet" href="css/flexslider.css" type="text/css">
<!--[if lt IE 8]><link rel="stylesheet" href="css/font-awesome-ie7.min.css" ><![endif]-->
<!--[if lt IE 9]><script src="js/html5.js"></script><![endif]-->
</head>
<!-- END head -->
<body>
$0
</body>
<script src="js/jquery-1.9.1.min.js" type="text/javascript"></script>
<!-- Bootstrap -->
<script src="js/bootstrap.min.js"></script>
<script src="js/twitter-bootstrap-hover-dropdown.js?view=1"></script>
<script src="js/jquery.flexslider.js"></script>
<!-- Custom -->
<script src="js/custom.js"></script>
<script>
</script>
</body>
</html>]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>html5</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.html</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment