Skip to content

Commit d7740fa

Browse files
Merge pull request #7 from Coderockr/hotjar-code
inclui o hotjar code no site
2 parents 617a084 + 7e53436 commit d7740fa

File tree

7 files changed

+44
-151
lines changed

7 files changed

+44
-151
lines changed

dist/about.html

+10-1
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,21 @@
1414
<link type="text/plain" rel="author" href="humans.txt" />
1515
<link href="assets/images/favicon.png" rel="shortcut icon">
1616

17-
1817
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
1918

2019
<link rel="stylesheet" href="assets/styles/main.css">
2120

2221
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
22+
<script>
23+
(function(h,o,t,j,a,r){
24+
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
25+
h._hjSettings={hjid:744957,hjsv:6};
26+
a=o.getElementsByTagName('head')[0];
27+
r=o.createElement('script');r.async=1;
28+
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
29+
a.appendChild(r);
30+
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
31+
</script>
2332
</head>
2433
<body>
2534
<!--[if lt IE 10]>

dist/components/footer.html

-74
This file was deleted.

dist/components/header.html

-73
This file was deleted.

dist/contact.html

+10-1
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,21 @@
1414
<link type="text/plain" rel="author" href="humans.txt" />
1515
<link href="assets/images/favicon.png" rel="shortcut icon">
1616

17-
1817
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
1918

2019
<link rel="stylesheet" href="assets/styles/main.css">
2120

2221
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
22+
<script>
23+
(function(h,o,t,j,a,r){
24+
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
25+
h._hjSettings={hjid:744957,hjsv:6};
26+
a=o.getElementsByTagName('head')[0];
27+
r=o.createElement('script');r.async=1;
28+
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
29+
a.appendChild(r);
30+
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
31+
</script>
2332
</head>
2433
<body>
2534
<!--[if lt IE 10]>

dist/index.html

+10-1
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,21 @@
1414
<link type="text/plain" rel="author" href="humans.txt" />
1515
<link href="assets/images/favicon.png" rel="shortcut icon">
1616

17-
1817
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
1918

2019
<link rel="stylesheet" href="assets/styles/main.css">
2120

2221
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
22+
<script>
23+
(function(h,o,t,j,a,r){
24+
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
25+
h._hjSettings={hjid:744957,hjsv:6};
26+
a=o.getElementsByTagName('head')[0];
27+
r=o.createElement('script');r.async=1;
28+
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
29+
a.appendChild(r);
30+
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
31+
</script>
2332
</head>
2433
<body>
2534
<!--[if lt IE 10]>

gulpfile.js

+4
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ const config = {
5656
// clean
5757
gulp.task('clean', del.bind(null, ['dist']));
5858

59+
// postclean
60+
gulp.task('postclean', del.bind(null, ['dist/components']));
61+
5962
// templates
6063
gulp.task('templates', (done) => {
6164
assemble({
@@ -213,6 +216,7 @@ gulp.task('default', ['clean'], () => {
213216
'images',
214217
'fonts',
215218
'data',
219+
'postclean',
216220
];
217221

218222
// run build

src/templates/layouts/default.html

+10-1
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,21 @@
1414
<link type="text/plain" rel="author" href="humans.txt" />
1515
<link href="assets/images/favicon.png" rel="shortcut icon">
1616

17-
1817
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
1918

2019
<link rel="stylesheet" href="assets/styles/main.css">
2120

2221
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
22+
<script>
23+
(function(h,o,t,j,a,r){
24+
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
25+
h._hjSettings={hjid:744957,hjsv:6};
26+
a=o.getElementsByTagName('head')[0];
27+
r=o.createElement('script');r.async=1;
28+
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
29+
a.appendChild(r);
30+
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
31+
</script>
2332
</head>
2433
<body>
2534
<!--[if lt IE 10]>

0 commit comments

Comments
 (0)