forked from P233/Jade-Snippets-for-Sublime-Text-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtplh5bp.sublime-snippet
51 lines (50 loc) · 1.82 KB
/
tplh5bp.sublime-snippet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<snippet>
<content><![CDATA[
!!!5
//- TODO: Don't forget to set lang !!
//if lt IE 7
|<html class="no-js lt-ie9 lt-ie8 lt-ie7">
//if IE 7
|<html class="no-js lt-ie9 lt-ie8">
//if IE 8
|<html class="no-js lt-ie9">
//if gt IE 8
|<!--><html class="no-js"><!--
head
//- TODO: Check if it's the good charset
meta(charset='utf-8')
meta(http-equiv='X-UA-Compatible', content='IE=edge')
title
meta(name='description', content='')
meta(name='viewport', content='width=device-width, initial-scale=1')
//- TODO : Place favicon.ico and apple-touch-icon.png in the root directory
block css
link(rel='stylesheet', href='css/normalize.css')
link(rel='stylesheet', href='css/main.css')
block top-script
script(src='js/vendor/modernizr-2.6.2.min.js')
body
//-
Add your site or application content here
block main
p Hello world! This is HTML5 Boilerplate.
block bottom-script
script(src='//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js')
script.
window.jQuery || document.write('<script src="js/vendor/jquery-1.10.2.min.js"><\\/script>')
script(src='js/plugins.js')
script(src='js/main.js')
//- TODO : Google Analytics: change UA-XXXXX-X to be your site\'s ID.
script.
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X');ga('send','pageview');
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>tplh5bp</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.jade</scope>
</snippet>