Skip to content

Commit 14c6113

Browse files
author
Florian Kissling
committed
Fix indention.
1 parent 922d546 commit 14c6113

3 files changed

Lines changed: 74 additions & 74 deletions

File tree

docs/_includes/ga.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<script type="text/javascript">
2-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
2+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
66

7-
ga('create', 'UA-57144786-2', 'auto');
8-
ga('send', 'pageview');
7+
ga('create', 'UA-57144786-2', 'auto');
8+
ga('send', 'pageview');
99
</script>

docs/_layouts/default.html

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
11
<!doctype html>
22
<html>
3-
<head>
4-
{% include head.html %}
5-
</head>
6-
<body>
7-
{% include navigation.html %}
8-
9-
{{ content }}
10-
11-
{% include footer.html %}
12-
13-
<script>
14-
(function ($) {
15-
'use strict';
16-
17-
$(function () {
18-
var $window = $(window);
19-
var $body = $(document.body);
20-
var $sidebar = $('.s2-docs-sidebar');
21-
22-
$body.scrollspy({
23-
target: '.s2-docs-sidebar',
24-
offset: 40
25-
});
26-
27-
$window.on('load', function () {
28-
$body.scrollspy('refresh');
29-
});
30-
31-
$sidebar.affix({
32-
offset: {
33-
top: function () {
34-
var offsetTop = $sidebar.offset().top;
35-
var navOuterHeight = $('.s2-docs-nav').height();
36-
37-
return (this.top = offsetTop - navOuterHeight);
38-
},
39-
bottom: function () {
40-
return (this.bottom = $('.s2-docs-footer').outerHeight(true));
41-
}
42-
}
43-
});
44-
});
45-
})(jQuery);
46-
47-
(function () {
48-
'use strict';
49-
50-
addAnchors('.s2-docs-container h1, .s2-docs-container h2, .s2-docs-container h3, .s2-docs-container h4, .s2-docs-container h5');
51-
})();
52-
</script>
53-
54-
{% include ga.html %}
55-
</body>
3+
<head>
4+
{% include head.html %}
5+
</head>
6+
<body>
7+
{% include navigation.html %}
8+
9+
{{ content }}
10+
11+
{% include footer.html %}
12+
13+
<script>
14+
(function ($) {
15+
'use strict';
16+
17+
$(function () {
18+
var $window = $(window);
19+
var $body = $(document.body);
20+
var $sidebar = $('.s2-docs-sidebar');
21+
22+
$body.scrollspy({
23+
target: '.s2-docs-sidebar',
24+
offset: 40
25+
});
26+
27+
$window.on('load', function () {
28+
$body.scrollspy('refresh');
29+
});
30+
31+
$sidebar.affix({
32+
offset: {
33+
top: function () {
34+
var offsetTop = $sidebar.offset().top;
35+
var navOuterHeight = $('.s2-docs-nav').height();
36+
37+
return (this.top = offsetTop - navOuterHeight);
38+
},
39+
bottom: function () {
40+
return (this.bottom = $('.s2-docs-footer').outerHeight(true));
41+
}
42+
}
43+
});
44+
});
45+
})(jQuery);
46+
47+
(function () {
48+
'use strict';
49+
50+
addAnchors('.s2-docs-container h1, .s2-docs-container h2, .s2-docs-container h3, .s2-docs-container h4, .s2-docs-container h5');
51+
})();
52+
</script>
53+
54+
{% include ga.html %}
55+
</body>
5656
</html>

docs/_layouts/home.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
<!doctype html>
22
<html class="s2-docs-home">
3-
<head>
4-
{% include head.html %}
5-
</head>
6-
<body>
7-
{% include navigation.html %}
3+
<head>
4+
{% include head.html %}
5+
</head>
6+
<body>
7+
{% include navigation.html %}
88

9-
{{ content }}
9+
{{ content }}
1010

11-
{% include footer.html %}
11+
{% include footer.html %}
1212

13-
<script>
14-
(function () {
15-
'use strict';
13+
<script>
14+
(function () {
15+
'use strict';
1616

17-
prettyPrint();
18-
})();
19-
</script>
17+
prettyPrint();
18+
})();
19+
</script>
2020

21-
{% include ga.html %}
22-
</body>
21+
{% include ga.html %}
22+
</body>
2323
</html>

0 commit comments

Comments
 (0)