Last active
December 20, 2015 02:39
-
-
Save travm/6057494 to your computer and use it in GitHub Desktop.
HTML Snippet for Sublime Text 2
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> | |
<html lang="en"> | |
<head> | |
<title>${1}</title> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
<meta name="description" content="${2}" /> | |
<meta name="keywords" content="${3}" /> | |
<meta name="robots" content="index, follow" /> | |
<link rel="shortcut icon" href="${4}"> | |
<link rel="stylesheet" href="${5}" /> | |
<link rel="stylesheet" href="${6}" /> | |
<!-- HTML5 Element Fix --> | |
<!--[if lt IE 9]> | |
<script> | |
document.createElement('header'); | |
document.createElement('nav'); | |
document.createElement('section'); | |
document.createElement('article'); | |
document.createElement('aside'); | |
document.createElement('footer'); | |
</script> | |
<![endif]--> | |
<!-- IE7 Font Awesome Fix --> | |
<!--[if IE 7]> | |
<link rel="stylesheet" href="${7}" /> | |
<![endif]--> | |
</head> | |
<body> | |
${8} | |
</body> | |
</html> | |
]]></content> | |
<tabTrigger>html</tabTrigger> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment