jmblog-theme 1.1.7 → 1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/themes/jmblog-theme/components/article_highlight.html +1 -1
- data/_includes/themes/jmblog-theme/theme/default.html +45 -1
- data/_includes/themes/jmblog-theme/theme/maintenance.html +53 -1
- data/assets/css/critical.d9fd318d818e24175cc8.br +0 -0
- data/assets/css/critical.d9fd318d818e24175cc8.css +1 -0
- data/assets/css/default.d9fd318d818e24175cc8.br +0 -0
- data/assets/css/default.d9fd318d818e24175cc8.css +1 -0
- data/assets/css/vendor.d9fd318d818e24175cc8.br +0 -0
- data/assets/js/critical.d9fd318d818e24175cc8.js +0 -0
- data/assets/js/default.d9fd318d818e24175cc8.js +1 -0
- data/assets/js/vendor.d9fd318d818e24175cc8.js +1 -0
- data/assets/sass/base.scss +32 -38
- data/assets/sass/critical.scss +97 -0
- data/assets/sass/modules/card.scss +0 -24
- data/assets/sass/theme/brand.scss +1 -0
- metadata +15 -32
- data/_includes/JB.old/analytics +0 -20
- data/_includes/JB.old/analytics-providers/getclicky +0 -12
- data/_includes/JB.old/analytics-providers/mixpanel +0 -11
- data/_includes/JB.old/analytics-providers/piwik +0 -10
- data/_includes/JB.old/categories_list +0 -37
- data/_includes/JB.old/comments +0 -16
- data/_includes/JB.old/comments-providers/disqus +0 -17
- data/_includes/JB.old/comments-providers/facebook +0 -9
- data/_includes/JB.old/comments-providers/intensedebate +0 -6
- data/_includes/JB.old/comments-providers/livefyre +0 -6
- data/_includes/JB.old/liquid_raw +0 -32
- data/_includes/JB.old/pages_list +0 -44
- data/_includes/JB.old/posts_collate +0 -55
- data/_includes/JB.old/setup +0 -22
- data/_includes/JB.old/sharing +0 -8
- data/_includes/JB.old/tags_list +0 -35
- data/_includes/JB.old/urlset +0 -10
- data/assets/js/default.bundle.js +0 -2
- data/assets/js/default.bundle.js.br +0 -0
- data/assets/js/default.js.map +0 -1
- data/assets/js/maintenance.bundle.js +0 -2
- data/assets/js/maintenance.bundle.js.br +0 -0
- data/assets/js/maintenance.js.map +0 -1
- data/assets/js/vendor.bundle.js +0 -2
- data/assets/js/vendor.bundle.js.br +0 -0
- data/assets/js/vendor.js.map +0 -1
data/assets/sass/base.scss
CHANGED
|
@@ -1,69 +1,65 @@
|
|
|
1
|
-
|
|
2
|
-
$
|
|
3
|
-
|
|
1
|
+
// import branding
|
|
2
|
+
$colourone: #ff9900;
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
4
6
|
|
|
5
|
-
@import '~bulma/sass/utilities/_all';
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
9
|
-
// import breakpoint utilities
|
|
10
|
-
@import 'utilities/_all';
|
|
11
10
|
|
|
12
|
-
// import theme and brand
|
|
13
|
-
@import 'theme/_all';
|
|
14
11
|
|
|
15
12
|
// Import bulma
|
|
16
|
-
@import "~bulma/sass/base/_all";
|
|
17
13
|
|
|
18
14
|
// Elements
|
|
19
15
|
// @import "~bulma/sass/elements/_all";
|
|
20
|
-
|
|
21
|
-
@import "~bulma/sass/elements/
|
|
22
|
-
@import "~bulma/sass/elements/
|
|
23
|
-
@import "~bulma/sass/elements/
|
|
24
|
-
// @import "~bulma/sass/elements/
|
|
25
|
-
@import "~bulma/sass/elements/icon";
|
|
26
|
-
@import "~bulma/sass/elements/image";
|
|
27
|
-
@import "~bulma/sass/elements/notification";
|
|
28
|
-
@import "~bulma/sass/elements/other";
|
|
16
|
+
|
|
17
|
+
// @import "~bulma/sass/elements/box";
|
|
18
|
+
// @import "~bulma/sass/elements/button"; //temp comment
|
|
19
|
+
// @import "~bulma/sass/elements/container"; // moved to critical
|
|
20
|
+
// @import "~bulma/sass/elements/content"; // moved to critical
|
|
21
|
+
// @import "~bulma/sass/elements/icon"; // moved to critical
|
|
22
|
+
// @import "~bulma/sass/elements/image"; // moved to critical
|
|
23
|
+
// @import "~bulma/sass/elements/notification"; //temp comment
|
|
24
|
+
// @import "~bulma/sass/elements/other"; //temp comment
|
|
29
25
|
// @import "~bulma/sass/elements/progress";
|
|
30
26
|
// @import "~bulma/sass/elements/table";
|
|
31
|
-
@import "~bulma/sass/elements/tag";
|
|
32
|
-
@import "~bulma/sass/elements/title";
|
|
27
|
+
// @import "~bulma/sass/elements/tag";
|
|
28
|
+
// @import "~bulma/sass/elements/title";
|
|
33
29
|
|
|
34
30
|
// Form
|
|
35
31
|
// @import "~bulma/sass/form/_all";
|
|
36
|
-
@import "~bulma/sass/form/shared";
|
|
37
|
-
@import "~bulma/sass/form/tools";
|
|
38
|
-
@import "~bulma/sass/form/input-textarea";
|
|
39
|
-
@import "~bulma/sass/form/select";
|
|
32
|
+
// @import "~bulma/sass/form/shared"; //temp comment
|
|
33
|
+
// @import "~bulma/sass/form/tools"; //temp comment
|
|
34
|
+
// @import "~bulma/sass/form/input-textarea"; //temp comment
|
|
35
|
+
// @import "~bulma/sass/form/select"; //temp comment
|
|
40
36
|
// @import "~bulma/sass/form/checkbox-radio";
|
|
41
37
|
// @import "~bulma/sass/form/file";
|
|
42
38
|
|
|
43
39
|
|
|
44
40
|
// Components
|
|
45
41
|
// @import "~bulma/sass/components/_all";
|
|
46
|
-
@import "~bulma/sass/components/breadcrumb";
|
|
47
|
-
@import "~bulma/sass/components/card";
|
|
42
|
+
// @import "~bulma/sass/components/breadcrumb";
|
|
43
|
+
// @import "~bulma/sass/components/card"; // moved to critical
|
|
48
44
|
// @import "~bulma/sass/components/dropdown";
|
|
49
|
-
@import "~bulma/sass/components/level";
|
|
50
|
-
@import "~bulma/sass/components/media";
|
|
45
|
+
// @import "~bulma/sass/components/level"; //footer //temp comment
|
|
46
|
+
// @import "~bulma/sass/components/media"; // below the fold //temp comment
|
|
51
47
|
// @import "~bulma/sass/components/menu";
|
|
52
48
|
// @import "~bulma/sass/components/message";
|
|
53
49
|
// @import "~bulma/sass/components/modal";
|
|
54
|
-
@import "~bulma/sass/components/navbar";
|
|
55
|
-
@import "~bulma/sass/components/pagination";
|
|
50
|
+
// @import "~bulma/sass/components/navbar"; // moved to critical
|
|
51
|
+
// @import "~bulma/sass/components/pagination"; // below the fold //temp comment
|
|
56
52
|
// @import "~bulma/sass/components/panel";
|
|
57
53
|
// @import "~bulma/sass/components/tabs";
|
|
58
54
|
|
|
59
55
|
// grid
|
|
60
56
|
// @import "~bulma/sass/grid/_all";
|
|
61
|
-
@import "~bulma/sass/grid/columns";
|
|
57
|
+
// @import "~bulma/sass/grid/columns"; // moved to critical
|
|
62
58
|
// @import "~bulma/sass/grid/tiles";
|
|
63
59
|
|
|
64
60
|
// Helpers
|
|
65
|
-
@import "~bulma/sass/helpers/_all";
|
|
66
|
-
|
|
61
|
+
// @import "~bulma/sass/helpers/_all"; // what used for? //temp comment
|
|
62
|
+
|
|
67
63
|
// @import "~bulma/sass/helpers/float";
|
|
68
64
|
// @import "~bulma/sass/helpers/other";
|
|
69
65
|
// @import "~bulma/sass/helpers/overflow";
|
|
@@ -73,12 +69,10 @@ $navbar-padding-horizontal: 4rem;
|
|
|
73
69
|
// @import "~bulma/sass/helpers/visibility";
|
|
74
70
|
|
|
75
71
|
// Layout
|
|
76
|
-
@import "~bulma/sass/layout/_all";
|
|
77
|
-
// @import "~bulma/sass/layout/footer";
|
|
78
|
-
// @import "~bulma/sass/layout/hero";
|
|
72
|
+
// @import "~bulma/sass/layout/_all";
|
|
73
|
+
// @import "~bulma/sass/layout/footer"; //temp comment
|
|
74
|
+
// @import "~bulma/sass/layout/hero"; //temp comment
|
|
79
75
|
// @import "~bulma/sass/layout/section";
|
|
80
76
|
|
|
81
77
|
|
|
82
78
|
|
|
83
|
-
@import 'modules/card';
|
|
84
|
-
@import 'modules/navbar';
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
@charset "utf-8";
|
|
2
|
+
|
|
3
|
+
/* Global bulma variables */
|
|
4
|
+
$size-1: 6.6rem;
|
|
5
|
+
|
|
6
|
+
/* Navigation variable settings */
|
|
7
|
+
$navbar-padding-horizontal: 4rem;
|
|
8
|
+
|
|
9
|
+
/* Card variable settings */
|
|
10
|
+
$card-radius:0;
|
|
11
|
+
|
|
12
|
+
/* Box variables */
|
|
13
|
+
$box-background-color: #fff;
|
|
14
|
+
$box-radius: 6px;
|
|
15
|
+
|
|
16
|
+
/* Bulma utilities is a dependency for custom utilities */
|
|
17
|
+
@import '~bulma/sass/utilities/_all';
|
|
18
|
+
|
|
19
|
+
// import breakpoints and helpers
|
|
20
|
+
@import 'utilities/_all';
|
|
21
|
+
|
|
22
|
+
// import branding
|
|
23
|
+
@import 'theme/_all';
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
// Bulma framwork - order is significant here
|
|
27
|
+
// import bulma base styles
|
|
28
|
+
@import "~bulma/sass/base/_all";
|
|
29
|
+
|
|
30
|
+
// @import "~bulma/sass/elements/_all";
|
|
31
|
+
@import "~bulma/sass/elements/box";
|
|
32
|
+
@import "~bulma/sass/elements/button"; //temp comment
|
|
33
|
+
@import "~bulma/sass/elements/container";
|
|
34
|
+
@import "~bulma/sass/elements/content";
|
|
35
|
+
@import "~bulma/sass/elements/icon";
|
|
36
|
+
@import "~bulma/sass/elements/image";
|
|
37
|
+
@import "~bulma/sass/elements/notification"; //temp comment
|
|
38
|
+
@import "~bulma/sass/elements/other"; //temp comment
|
|
39
|
+
// @import "~bulma/sass/elements/progress";
|
|
40
|
+
// @import "~bulma/sass/elements/table";
|
|
41
|
+
@import "~bulma/sass/elements/tag";
|
|
42
|
+
@import "~bulma/sass/elements/title";
|
|
43
|
+
|
|
44
|
+
// Form
|
|
45
|
+
// @import "~bulma/sass/form/_all";
|
|
46
|
+
@import "~bulma/sass/form/shared"; //temp comment
|
|
47
|
+
@import "~bulma/sass/form/tools"; //temp comment
|
|
48
|
+
@import "~bulma/sass/form/input-textarea"; //temp comment
|
|
49
|
+
// @import "~bulma/sass/form/select"; //temp comment
|
|
50
|
+
// @import "~bulma/sass/form/checkbox-radio";
|
|
51
|
+
// @import "~bulma/sass/form/file";
|
|
52
|
+
|
|
53
|
+
// Components
|
|
54
|
+
// @import "~bulma/sass/components/_all";
|
|
55
|
+
@import "~bulma/sass/components/breadcrumb";
|
|
56
|
+
@import "~bulma/sass/components/card";
|
|
57
|
+
// @import "~bulma/sass/components/dropdown";
|
|
58
|
+
@import "~bulma/sass/components/level";
|
|
59
|
+
@import "~bulma/sass/components/media";
|
|
60
|
+
// @import "~bulma/sass/components/menu";
|
|
61
|
+
// @import "~bulma/sass/components/message";
|
|
62
|
+
// @import "~bulma/sass/components/modal";
|
|
63
|
+
@import "~bulma/sass/components/navbar";
|
|
64
|
+
@import "~bulma/sass/components/pagination";
|
|
65
|
+
// @import "~bulma/sass/components/panel";
|
|
66
|
+
// @import "~bulma/sass/components/tabs";
|
|
67
|
+
|
|
68
|
+
// Grid
|
|
69
|
+
// @import "~bulma/sass/grid/_all";
|
|
70
|
+
@import "~bulma/sass/grid/columns";
|
|
71
|
+
// @import "~bulma/sass/grid/tiles";
|
|
72
|
+
|
|
73
|
+
// Helpers
|
|
74
|
+
@import "~bulma/sass/helpers/_all"; // what used for? //temp comment
|
|
75
|
+
// @import "~bulma/sass/helpers/color";
|
|
76
|
+
// @import "~bulma/sass/helpers/float";
|
|
77
|
+
// @import "~bulma/sass/helpers/other";
|
|
78
|
+
// @import "~bulma/sass/helpers/overflow";
|
|
79
|
+
// @import "~bulma/sass/helpers/position";
|
|
80
|
+
// @import "~bulma/sass/helpers/spacing";
|
|
81
|
+
// @import "~bulma/sass/helpers/typography";
|
|
82
|
+
// @import "~bulma/sass/helpers/visibility";
|
|
83
|
+
|
|
84
|
+
// Layout
|
|
85
|
+
// Layout
|
|
86
|
+
@import "~bulma/sass/layout/_all";
|
|
87
|
+
// @import "~bulma/sass/layout/footer";
|
|
88
|
+
// @import "~bulma/sass/layout/hero";
|
|
89
|
+
// @import "~bulma/sass/layout/section";
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
@import 'modules/card'; //above the fold on home only? but below the fold elsewhere
|
|
93
|
+
@import 'modules/navbar';
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
// ------------------
|
|
@@ -1,29 +1,6 @@
|
|
|
1
1
|
.card{
|
|
2
2
|
border: 1px solid $black;
|
|
3
3
|
|
|
4
|
-
// .is-featured{
|
|
5
|
-
// position: absolute;
|
|
6
|
-
// // float: left;
|
|
7
|
-
// z-index: 30;
|
|
8
|
-
// // padding:0.5rem 3rem 0.5rem 0.8rem;
|
|
9
|
-
// // margin:2rem 0 1rem 2rem;
|
|
10
|
-
// top:2rem;
|
|
11
|
-
// left:2rem;
|
|
12
|
-
// line-height: 2rem;
|
|
13
|
-
// // letter-spacing: -1px;
|
|
14
|
-
// // -webkit-box-decoration-break: clone;
|
|
15
|
-
// // box-decoration-break: clone;
|
|
16
|
-
|
|
17
|
-
// // border:solid $black;
|
|
18
|
-
// // border-width:0 1px 1px 0;
|
|
19
|
-
// text-transform: uppercase;
|
|
20
|
-
// // margin:-1.6rem null null -1px;
|
|
21
|
-
// span{
|
|
22
|
-
// background-color: $white;
|
|
23
|
-
// display: block;
|
|
24
|
-
// }
|
|
25
|
-
// }
|
|
26
|
-
|
|
27
4
|
.padded-multiline {
|
|
28
5
|
line-height: 1.8;
|
|
29
6
|
position: absolute;
|
|
@@ -33,7 +10,6 @@
|
|
|
33
10
|
@include for-tablet-portrait-up {
|
|
34
11
|
padding-top: 4rem;
|
|
35
12
|
}
|
|
36
|
-
// left:0.5rem;
|
|
37
13
|
|
|
38
14
|
span{
|
|
39
15
|
background-color: $black;
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jmblog-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: '1.3'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Moxon
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-09-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: github-pages
|
|
@@ -52,7 +52,7 @@ dependencies:
|
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: 13.0.1
|
|
55
|
-
description:
|
|
55
|
+
description:
|
|
56
56
|
email:
|
|
57
57
|
- jmoxon@gmail.com
|
|
58
58
|
executables: []
|
|
@@ -64,23 +64,6 @@ files:
|
|
|
64
64
|
- _authors/john_doe.md
|
|
65
65
|
- _config.yml
|
|
66
66
|
- _data/navigation.yml
|
|
67
|
-
- _includes/JB.old/analytics
|
|
68
|
-
- _includes/JB.old/analytics-providers/getclicky
|
|
69
|
-
- _includes/JB.old/analytics-providers/mixpanel
|
|
70
|
-
- _includes/JB.old/analytics-providers/piwik
|
|
71
|
-
- _includes/JB.old/categories_list
|
|
72
|
-
- _includes/JB.old/comments
|
|
73
|
-
- _includes/JB.old/comments-providers/disqus
|
|
74
|
-
- _includes/JB.old/comments-providers/facebook
|
|
75
|
-
- _includes/JB.old/comments-providers/intensedebate
|
|
76
|
-
- _includes/JB.old/comments-providers/livefyre
|
|
77
|
-
- _includes/JB.old/liquid_raw
|
|
78
|
-
- _includes/JB.old/pages_list
|
|
79
|
-
- _includes/JB.old/posts_collate
|
|
80
|
-
- _includes/JB.old/setup
|
|
81
|
-
- _includes/JB.old/sharing
|
|
82
|
-
- _includes/JB.old/tags_list
|
|
83
|
-
- _includes/JB.old/urlset
|
|
84
67
|
- _includes/dataLayer/dataLayer
|
|
85
68
|
- _includes/themes/jmblog-theme/bio.html
|
|
86
69
|
- _includes/themes/jmblog-theme/components/analytics/google
|
|
@@ -131,6 +114,11 @@ files:
|
|
|
131
114
|
- _pages/404.md
|
|
132
115
|
- _pages/contact.md
|
|
133
116
|
- _posts/2020-07-06-managing-and-leading-remote-teams-in-our-new-normal.md
|
|
117
|
+
- assets/css/critical.d9fd318d818e24175cc8.br
|
|
118
|
+
- assets/css/critical.d9fd318d818e24175cc8.css
|
|
119
|
+
- assets/css/default.d9fd318d818e24175cc8.br
|
|
120
|
+
- assets/css/default.d9fd318d818e24175cc8.css
|
|
121
|
+
- assets/css/vendor.d9fd318d818e24175cc8.br
|
|
134
122
|
- assets/fonts/Cardo/Cardo-Regular.woff2
|
|
135
123
|
- assets/fonts/Cardo/OFL.txt
|
|
136
124
|
- assets/fonts/Montserrat/Montserrat-Regular.woff2
|
|
@@ -144,16 +132,11 @@ files:
|
|
|
144
132
|
- assets/img/ph.png
|
|
145
133
|
- assets/img/user-circle-solid.svg
|
|
146
134
|
- assets/img/webpack-on-white-bg.svg
|
|
147
|
-
- assets/js/
|
|
148
|
-
- assets/js/default.
|
|
149
|
-
- assets/js/
|
|
150
|
-
- assets/js/maintenance.bundle.js
|
|
151
|
-
- assets/js/maintenance.bundle.js.br
|
|
152
|
-
- assets/js/maintenance.js.map
|
|
153
|
-
- assets/js/vendor.bundle.js
|
|
154
|
-
- assets/js/vendor.bundle.js.br
|
|
155
|
-
- assets/js/vendor.js.map
|
|
135
|
+
- assets/js/critical.d9fd318d818e24175cc8.js
|
|
136
|
+
- assets/js/default.d9fd318d818e24175cc8.js
|
|
137
|
+
- assets/js/vendor.d9fd318d818e24175cc8.js
|
|
156
138
|
- assets/sass/base.scss
|
|
139
|
+
- assets/sass/critical.scss
|
|
157
140
|
- assets/sass/modules/card.scss
|
|
158
141
|
- assets/sass/modules/navbar.scss
|
|
159
142
|
- assets/sass/theme/_all.scss
|
|
@@ -167,7 +150,7 @@ homepage: https://www.jmoxon.net
|
|
|
167
150
|
licenses:
|
|
168
151
|
- MIT
|
|
169
152
|
metadata: {}
|
|
170
|
-
post_install_message:
|
|
153
|
+
post_install_message:
|
|
171
154
|
rdoc_options: []
|
|
172
155
|
require_paths:
|
|
173
156
|
- lib
|
|
@@ -183,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
183
166
|
version: '0'
|
|
184
167
|
requirements: []
|
|
185
168
|
rubygems_version: 3.0.3
|
|
186
|
-
signing_key:
|
|
169
|
+
signing_key:
|
|
187
170
|
specification_version: 4
|
|
188
171
|
summary: Clean minimalist blog theme inspired by Wix train of thought
|
|
189
172
|
test_files: []
|
data/_includes/JB.old/analytics
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{% if site.safe and site.JB.analytics.provider and page.JB.analytics != false %}
|
|
2
|
-
|
|
3
|
-
{% case site.JB.analytics.provider %}
|
|
4
|
-
{% when "google" %}
|
|
5
|
-
{% include JB/analytics-providers/google %}
|
|
6
|
-
{% when "googletagmanager" %}
|
|
7
|
-
{% include JB/analytics-providers/googletagmanager %}
|
|
8
|
-
{% when "hubspot" %}
|
|
9
|
-
{% include JB/analytics-providers/hubspot%}
|
|
10
|
-
{% when "getclicky" %}
|
|
11
|
-
{% include JB/analytics-providers/getclicky %}
|
|
12
|
-
{% when "mixpanel" %}
|
|
13
|
-
{% include JB/analytics-providers/mixpanel %}
|
|
14
|
-
{% when "piwik" %}
|
|
15
|
-
{% include JB/analytics-providers/piwik %}
|
|
16
|
-
{% when "custom" %}
|
|
17
|
-
{% include custom/analytics %}
|
|
18
|
-
{% endcase %}
|
|
19
|
-
|
|
20
|
-
{% endif %}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<script type="text/javascript">
|
|
2
|
-
var clicky_site_ids = clicky_site_ids || [];
|
|
3
|
-
clicky_site_ids.push({{ site.JB.analytics.getclicky.site_id }});
|
|
4
|
-
(function() {
|
|
5
|
-
var s = document.createElement('script');
|
|
6
|
-
s.type = 'text/javascript';
|
|
7
|
-
s.async = true;
|
|
8
|
-
s.src = '//static.getclicky.com/js';
|
|
9
|
-
( document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0] ).appendChild( s );
|
|
10
|
-
})();
|
|
11
|
-
</script>
|
|
12
|
-
<noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/{{ site.JB.analytics.getclicky.site_id }}ns.gif" /></p></noscript>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<script type="text/javascript">
|
|
2
|
-
var mpq = [];
|
|
3
|
-
mpq.push(["init", "{{ site.JB.analytics.mixpanel.token}}"]);
|
|
4
|
-
(function(){var b,a,e,d,c;b=document.createElement("script");b.type="text/javascript";
|
|
5
|
-
b.async=true;b.src=(document.location.protocol==="https:"?"https:":"http:")+
|
|
6
|
-
"//api.mixpanel.com/site_media/js/api/mixpanel.js";a=document.getElementsByTagName("script")[0];
|
|
7
|
-
a.parentNode.insertBefore(b,a);e=function(f){return function(){mpq.push(
|
|
8
|
-
[f].concat(Array.prototype.slice.call(arguments,0)))}};d=["init","track","track_links",
|
|
9
|
-
"track_forms","register","register_once","identify","name_tag","set_config"];for(c=0;c<
|
|
10
|
-
d.length;c++){mpq[d[c]]=e(d[c])}})();
|
|
11
|
-
</script>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<script type="text/javascript">
|
|
2
|
-
var pkBaseURL = (("https:" == document.location.protocol) ? "https://{{ site.JB.analytics.piwik.baseURL }}/" : "http://{{ site.JB.analytics.piwik.baseURL }}/");
|
|
3
|
-
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
|
|
4
|
-
</script><script type="text/javascript">
|
|
5
|
-
try {
|
|
6
|
-
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", {{ site.JB.analytics.piwik.idsite }});
|
|
7
|
-
piwikTracker.trackPageView();
|
|
8
|
-
piwikTracker.enableLinkTracking();
|
|
9
|
-
} catch( err ) {}
|
|
10
|
-
</script><noscript><p><img src="http://{{ site.JB.analytics.piwik.baseURL }}/piwik.php?idsite={{ site.JB.analytics.piwik.idsite }}" style="border:0" alt="" /></p></noscript>
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{% comment %}<!--
|
|
2
|
-
The categories_list include is a listing helper for categories.
|
|
3
|
-
Usage:
|
|
4
|
-
1) assign the 'categories_list' variable to a valid array of tags.
|
|
5
|
-
2) include JB/categories_list
|
|
6
|
-
example:
|
|
7
|
-
<ul>
|
|
8
|
-
{% assign categories_list = site.categories %}
|
|
9
|
-
{% include JB/categories_list %}
|
|
10
|
-
</ul>
|
|
11
|
-
|
|
12
|
-
Notes:
|
|
13
|
-
Categories can be either a Hash of Category objects (hashes) or an Array of category-names (strings).
|
|
14
|
-
The encapsulating 'if' statement checks whether categories_list is a Hash or Array.
|
|
15
|
-
site.categories is a Hash while page.categories is an array.
|
|
16
|
-
|
|
17
|
-
This helper can be seen in use at: ../_layouts/default.html
|
|
18
|
-
-->{% endcomment %}
|
|
19
|
-
|
|
20
|
-
{% if site.JB.categories_list.provider == "custom" %}
|
|
21
|
-
{% include custom/categories_list %}
|
|
22
|
-
{% else %}
|
|
23
|
-
{% if categories_list.first[0] == null %}
|
|
24
|
-
{% for category in categories_list %}
|
|
25
|
-
<li><a href="{{ BASE_PATH }}{{ site.JB.categories_path }}{{ category }}">
|
|
26
|
-
{{ category | join: "/" }} <span class="badge">{{ site.categories[category].size }}</span>
|
|
27
|
-
</a></li>
|
|
28
|
-
{% endfor %}
|
|
29
|
-
{% else %}
|
|
30
|
-
{% for category in categories_list %}
|
|
31
|
-
<li><a href="{{ BASE_PATH }}{{ site.JB.categories_path }}{{ category[0] }}">
|
|
32
|
-
{{ category[0] | join: "/" }} <span class="badge">{{ category[1].size }}</span>
|
|
33
|
-
</a></li>
|
|
34
|
-
{% endfor %}
|
|
35
|
-
{% endif %}
|
|
36
|
-
{% endif %}
|
|
37
|
-
{% assign categories_list = nil %}
|
data/_includes/JB.old/comments
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{% if site.JB.comments.provider and page.comments != false %}
|
|
2
|
-
|
|
3
|
-
{% case site.JB.comments.provider %}
|
|
4
|
-
{% when "disqus" %}
|
|
5
|
-
{% include JB/comments-providers/disqus %}
|
|
6
|
-
{% when "livefyre" %}
|
|
7
|
-
{% include JB/comments-providers/livefyre %}
|
|
8
|
-
{% when "intensedebate" %}
|
|
9
|
-
{% include JB/comments-providers/intensedebate %}
|
|
10
|
-
{% when "facebook" %}
|
|
11
|
-
{% include JB/comments-providers/facebook %}
|
|
12
|
-
{% when "custom" %}
|
|
13
|
-
{% include custom/comments %}
|
|
14
|
-
{% endcase %}
|
|
15
|
-
|
|
16
|
-
{% endif %}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<div id="disqus_thread"></div>
|
|
2
|
-
<script type="text/javascript">
|
|
3
|
-
{% if site.safe == false %}var disqus_developer = 1;{% endif %}
|
|
4
|
-
var disqus_shortname = '{{ site.JB.comments.disqus.short_name }}'; // required: replace example with your forum shortname
|
|
5
|
-
{% if page.url %}var disqus_identifier = '{{page.url}}';
|
|
6
|
-
var disqus_url = '{{site.production_url}}{{page.url}}';{% endif %}
|
|
7
|
-
{% if page.title %}var disqus_title = '{{page.title}}';{% endif %}
|
|
8
|
-
|
|
9
|
-
/* * * DON'T EDIT BELOW THIS LINE * * */
|
|
10
|
-
(function() {
|
|
11
|
-
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
|
12
|
-
dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
|
|
13
|
-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
|
14
|
-
})();
|
|
15
|
-
</script>
|
|
16
|
-
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
|
17
|
-
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<div id="fb-root"></div>
|
|
2
|
-
<script>(function(d, s, id) {
|
|
3
|
-
var js, fjs = d.getElementsByTagName(s)[0];
|
|
4
|
-
if (d.getElementById(id)) return;
|
|
5
|
-
js = d.createElement(s); js.id = id;
|
|
6
|
-
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId={{ site.JB.comments.facebook.appid }}";
|
|
7
|
-
fjs.parentNode.insertBefore(js, fjs);
|
|
8
|
-
}(document, 'script', 'facebook-jssdk'));</script>
|
|
9
|
-
<div class="fb-comments" data-href="{{ site.production_url }}" data-num-posts="{{ site.JB.comments.facebook.num_posts }}" data-width="{{ site.JB.comments.facebook.width }}" data-colorscheme="{{ site.JB.comments.facebook.colorscheme }}"></div>
|
data/_includes/JB.old/liquid_raw
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{% comment%}<!--
|
|
2
|
-
The liquid_raw helper is a way to display raw liquid code, as opposed to parsing it.
|
|
3
|
-
Normally you'd use Liquid's built in 'raw' tag.
|
|
4
|
-
The problem is GitHub Jekyll does not support the current Liquid release.
|
|
5
|
-
GitHub Jekyll supports the deprecated 'literal' tag.
|
|
6
|
-
Using one will break the other if you plan to deploy to GitHub pages.
|
|
7
|
-
see: https://github.com/mojombo/jekyll/issues/425
|
|
8
|
-
|
|
9
|
-
Since I don't want to mess with Liquid versions, I'll just rewrite the way I
|
|
10
|
-
intend to give liquid examples. It's not an elegant by any means:
|
|
11
|
-
|
|
12
|
-
Usage:
|
|
13
|
-
1) Define a 'text' variable with the block of liquid code you intend to display.
|
|
14
|
-
2) Pass the text variable to include JB/liquid_raw
|
|
15
|
-
|
|
16
|
-
example:
|
|
17
|
-
{% capture text %}|.% for tag in tags_list %.|
|
|
18
|
-
<li><a href="|.{ site.var.tags_path }.||.{ tag[0] }.|-ref">|.{ tag[0] }.| <span>|.{tag[1].size}.|</span></a></li>
|
|
19
|
-
|.% endfor %.|
|
|
20
|
-
|
|
21
|
-
|.% assign tags_list = null %.|{% endcapture %}
|
|
22
|
-
{% include JB/liquid_raw %}
|
|
23
|
-
|
|
24
|
-
As seen here, you must use "|." and ".|" as opening and closing brackets.
|
|
25
|
-
-->{% endcomment%}
|
|
26
|
-
|
|
27
|
-
{% if site.JB.liquid_raw.provider == "custom" %}
|
|
28
|
-
{% include custom/liquid_raw %}
|
|
29
|
-
{% else %}
|
|
30
|
-
<pre><code>{{text | replace:"|.", "{" | replace:".|", "}" | replace:">", ">" | replace:"<", "<" }}</code></pre>
|
|
31
|
-
{% endif %}
|
|
32
|
-
{% assign text = nil %}
|
data/_includes/JB.old/pages_list
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
{% comment %}<!--
|
|
2
|
-
The pages_list include is a listing helper.
|
|
3
|
-
Usage:
|
|
4
|
-
1) assign the 'pages_list' variable to a valid array of pages or posts.
|
|
5
|
-
2) include JB/pages_list
|
|
6
|
-
example:
|
|
7
|
-
<ul>
|
|
8
|
-
{% assign pages_list = site.pages %}
|
|
9
|
-
{% include JB/pages_list %}
|
|
10
|
-
</ul>
|
|
11
|
-
|
|
12
|
-
Grouping: (optional):
|
|
13
|
-
assign the 'group' variable to constrain the list to only pages/posts
|
|
14
|
-
in the given group. Note you must define the group manually in the page/post
|
|
15
|
-
meta-data to use this feature.
|
|
16
|
-
Grouping is mainly helpful for non-post pages.
|
|
17
|
-
If you want to group posts, it's easier/better to tag them, then pass the tagged posts array.
|
|
18
|
-
i.e. site.tags.cool_tag (this returns an array of posts tagged: cool_tag)
|
|
19
|
-
|
|
20
|
-
This helper can be seen in use at: ../_layouts/default.html
|
|
21
|
-
-->{% endcomment %}
|
|
22
|
-
|
|
23
|
-
{% if site.JB.pages_list.provider == "custom" %}
|
|
24
|
-
{% include custom/pages_list %}
|
|
25
|
-
{% else %}
|
|
26
|
-
{% for node in pages_list %}
|
|
27
|
-
{% if node.title != null %}
|
|
28
|
-
{% if group == null or group == node.group %}
|
|
29
|
-
|
|
30
|
-
{% if limit == null or forloop.index <= limit %}
|
|
31
|
-
{% if page.url == node.url %}
|
|
32
|
-
<li class="active"><a href="{{ BASE_PATH }}{{node.url}}" class="active">{{node.title}}</a></li>
|
|
33
|
-
{% else %}
|
|
34
|
-
<li><a href="{{ BASE_PATH }}{{node.url}}">{{node.title}}</a></li>
|
|
35
|
-
{% endif %}
|
|
36
|
-
{% endif %}
|
|
37
|
-
|
|
38
|
-
{% endif %}
|
|
39
|
-
{% endif %}
|
|
40
|
-
{% endfor %}
|
|
41
|
-
{% endif %}
|
|
42
|
-
{% assign pages_list = nil %}
|
|
43
|
-
{% assign group = nil %}
|
|
44
|
-
{% assign limit = nil %}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{% comment %}<!--
|
|
2
|
-
Collate_posts helper. Collated posts by year and month.
|
|
3
|
-
Usage:
|
|
4
|
-
1) assign the 'posts_collate' variable to a valid array of posts.
|
|
5
|
-
2) include JB/posts_collate
|
|
6
|
-
example:
|
|
7
|
-
{% assign posts_collate = site.posts %}
|
|
8
|
-
{% include JB/posts_collate %}
|
|
9
|
-
|
|
10
|
-
Ordering:
|
|
11
|
-
Posts are displayed in reverse chronological order.
|
|
12
|
-
For normal chronological order:
|
|
13
|
-
1) Change the for loop to this:
|
|
14
|
-
=> 'for post in site.posts reversed'
|
|
15
|
-
2) Next make sure to change 'post.previous.date' to:
|
|
16
|
-
=> 'post.next.date'
|
|
17
|
-
|
|
18
|
-
-->{% endcomment %}
|
|
19
|
-
|
|
20
|
-
{% if site.JB.posts_collate.provider == "custom" %}
|
|
21
|
-
{% include custom/posts_collate %}
|
|
22
|
-
{% else %}
|
|
23
|
-
{% for post in posts_collate %}
|
|
24
|
-
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
|
|
25
|
-
{% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %}
|
|
26
|
-
{% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
|
|
27
|
-
{% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %}
|
|
28
|
-
|
|
29
|
-
{% if forloop.first %}
|
|
30
|
-
<h2>{{this_year}}</h2>
|
|
31
|
-
<h3>{{this_month}}</h3>
|
|
32
|
-
<ul>
|
|
33
|
-
{% endif %}
|
|
34
|
-
|
|
35
|
-
<li><span>{{ post.date | date: "%B %e, %Y" }}</span> » <a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></li>
|
|
36
|
-
|
|
37
|
-
{% if forloop.last %}
|
|
38
|
-
</ul>
|
|
39
|
-
{% else %}
|
|
40
|
-
{% if this_year != next_year %}
|
|
41
|
-
</ul>
|
|
42
|
-
<h2>{{next_year}}</h2>
|
|
43
|
-
<h3>{{next_month}}</h3>
|
|
44
|
-
<ul>
|
|
45
|
-
{% else %}
|
|
46
|
-
{% if this_month != next_month %}
|
|
47
|
-
</ul>
|
|
48
|
-
<h3>{{next_month}}</h3>
|
|
49
|
-
<ul>
|
|
50
|
-
{% endif %}
|
|
51
|
-
{% endif %}
|
|
52
|
-
{% endif %}
|
|
53
|
-
{% endfor %}
|
|
54
|
-
{% endif %}
|
|
55
|
-
{% assign posts_collate = nil %}
|