Skip to content

Commit b2528ad

Browse files
committed
update html snippets
1 parent 94afe37 commit b2528ad

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

html-document.sublime-snippet

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<!DOCTYPE html>
4+
<html class="no-js" lang="pt-BR" xml:lang="pt-BR">
5+
<head>
6+
<meta charset="utf-8">
7+
<title></title>
8+
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
9+
<meta name="viewport" content="width=device-width,initial-scale=1">
10+
<script type="text/javascript">
11+
// para identificação se o javascript está ativo
12+
var tagHtml = document.getElementsByTagName("html")[0];
13+
tagHtml.className = tagHtml.className.replace('no-js', 'js');
14+
</script>
15+
</head>
16+
<body>
17+
18+
</body>
19+
</html>
20+
]]></content>
21+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
22+
<tabTrigger>html</tabTrigger>
23+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
24+
<!-- <scope>source.python</scope> -->
25+
</snippet>

html-head.sublime-snippet

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<meta name="format-detection" content="telephone=no">
4+
<meta name="referrer" content="origin">
5+
<meta name="description" content="">
6+
7+
<!-- facebook -->
8+
<meta property="og:site_name" content="">
9+
<meta property="og:title" content="">
10+
<meta property="og:type" content="website">
11+
<meta property="og:url" content="http://">
12+
<meta property="og:description" content="">
13+
<meta property="og:image" content="http://">
14+
<meta property="fb:admins" content="">
15+
<meta property="fb:app_id" content="">
16+
17+
<link rel="image_src" href="">
18+
19+
<!-- component schema.org -->
20+
<meta itemprop="name" content="">
21+
<meta itemprop="description" content="">
22+
<meta itemprop="image" content="http://">
23+
<meta itemprop="url" content="http://">
24+
25+
<meta name="geo.country" content="BR">
26+
<meta name="geo.region" content="RJ">
27+
<meta name="geo.placename" content="Rio de Janeiro">
28+
29+
<!-- favicon -->
30+
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
31+
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
32+
<link rel="icon" href="/favicon.ico" type="image/x-icon">
33+
34+
<!-- canonical -->
35+
<link rel="canonical" href="http://">
36+
]]></content>
37+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
38+
<tabTrigger>html-head</tabTrigger>
39+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
40+
<!-- <scope>source.python</scope> -->
41+
</snippet>

0 commit comments

Comments
 (0)