jumbo-jekyll-theme 2.4.0 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d6636f05f0b54846608df5a785e794ec1733842c9121893785e2710ed1fb3c9
4
- data.tar.gz: e796a6fc4286b1608f55833c0d0e934457f367571766a60b7279e31d4bad01de
3
+ metadata.gz: ebcc4397ba4bc7440532e2c75f0d0166a0ce38267820825049cde60dbde820a7
4
+ data.tar.gz: 6333c3f2d4e2cfed335c41d77e56f49e1e3cc39c5be0adba2f645747e6e31ba4
5
5
  SHA512:
6
- metadata.gz: b4bbc52ab78b54b33b26fa3205cb5fb8495243e26c2a94edae997274a9451ea4bf8de1dc5f6e25543f19afff5be8b34fa41bf59c46ba44068c1e8a1375198b1e
7
- data.tar.gz: 8fc19c13e5b167c794eed5452f149d2fe61a9126839520ba93ffe1b123511934b8baf1d27724e4dc8cf835f7fe25c5befda2e8411fc588bdd60489273bb3962a
6
+ metadata.gz: 98b26ef5234e835f334abdf1352cf1af7f1bf708a09a5f380b3ddddd253c7a14fea9d5ddfd25194ee27923813f1fb33fe16b4bf430d36034b038040278d31805
7
+ data.tar.gz: a252cb2665b7f68897dfb2e02217f986dc73f97e1b263774c256441eb40783121a658d68569fafb48dfee797de41a4e56d8da23f471698961fbf4f83b85e2c93
data/_includes/head.html CHANGED
@@ -31,7 +31,6 @@
31
31
  {% endif %}
32
32
 
33
33
  {% seo title=false %}
34
-
35
34
  <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
36
35
  <!--[if lt IE 9]>
37
36
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@@ -0,0 +1,70 @@
1
+ ---
2
+ js-package: blog
3
+ css-package: blog
4
+ layout: container
5
+ ---
6
+ {% if page.previous.url %}
7
+ <a href="{{page.previous.url}}" class="previous_post_anchor">
8
+ <div class="previous_post"></div>
9
+ </a>
10
+ {% endif %}
11
+ {% if page.next.url %}
12
+ <a href="{{page.next.url}}" class="next_post_anchor">
13
+ <div class="next_post"></div>
14
+ </a>
15
+ {% endif %}
16
+
17
+ <div class="col-md-9">
18
+ <article class="post-content">
19
+ <div class="post-info">
20
+ <h1>{{page.title }}</h1>
21
+
22
+ {% if page.date %}<small class="blog-date text-center"><em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em></small>{% endif %}
23
+ {% if page.categories %}in <a href="/categories/#{{page.categories[0]}}">{{page.categories[0] | capitalize}}</a>{% endif %}
24
+ {% if page.author %}
25
+ {% assign author = site.authors | where: 'username' , page.author %}
26
+ {% assign author = author[0] %}
27
+ <em> By
28
+ {% if author %}
29
+ <a href="{{author.url}}">
30
+ <strong>
31
+ {{author.name}}
32
+ </strong>
33
+ </a>
34
+ {% else %}
35
+ <strong>
36
+ {{page.author}}
37
+ </strong>
38
+ {% endif %}
39
+
40
+ </em>
41
+ {% endif %}
42
+ </div>
43
+ {{ content }}
44
+ </article>
45
+
46
+ <hr />
47
+
48
+ {% comment %}
49
+ TAGS - Check to see if the tags_enabled setting in settings.yml data file is toggled.
50
+ {% endcomment %}
51
+
52
+ {% include post-tags.html %}
53
+
54
+ {% comment %}
55
+ COMMENTS - Check to see if comments are toggled for this particular post.
56
+ {% endcomment %}
57
+
58
+ {% include post-comments.html %}
59
+
60
+
61
+ </div>
62
+
63
+ {% comment %}
64
+ Display a right side bar.
65
+ {% endcomment %}
66
+
67
+ <div class="col-md-3 blog-sidebar">
68
+ {% include post-sidebar.html %}
69
+ </div>
70
+
data/_layouts/post.html CHANGED
@@ -4,46 +4,74 @@ js-package: blog
4
4
  css-package: blog
5
5
  ---
6
6
  {% if page.image.featured %}
7
- <!--Fluid Container -->
8
- <div class="container-fluid"
9
- style="background: #000 url({{page.image.name}}) no-repeat center center fixed;
7
+ <div class="container-fluid" {% if page.image.featured %}
8
+ style="background: #000 url({% asset_path '{{page.image.name}}' %}) no-repeat center center fixed;
10
9
  background-size: cover;
11
10
  -webkit-background-size: cover;
12
11
  -moz-background-size: cover;
13
12
  -o-background-size: cover;
14
13
  background-position-y: 0px"
15
- class="jumbotron text-center featured-jumbotron homepage-image-jumbotron">
16
- <!--Row -->
17
- <div class="row overlay">
14
+ class="jumbotron text-center featured-jumbotron homepage-image-jumbotron"
15
+ {% else %}
16
+ class="jumbotron text-center featured-jumbotron"
17
+ {% endif %}> <!--Fluid Container -->
18
+ {% if assets[page.image.name] %}
19
+ <div class="row overlay"> <!--Row -->
18
20
  <div id="featured-jumbotron" class="blog blog-full-page-image-info"> <!--Jumbotron div -->
19
21
  <h1 class="text-center" id="featured-image-blog-title">{{page.title}}</h1>
20
22
  {% if page.author %}
21
23
  {% if site.authors %}
22
24
  {% assign author = site.authors | where: "username", page.author | first %}
23
25
  {% assign author-url = author.url %}
26
+ {% assign using-data-file = false %}
27
+ {% elsif site.data.authors %}
28
+ {% assign using-data-file = true %}
29
+ {% assign author = site.data.authors | where: "username", page.author | first %}
30
+ {% assign author-url = "#" %}
24
31
  {% endif %}
32
+
33
+ {% if site.using-data-file %}
34
+ <img class="blog-author-image" style="
35
+ background-image:url({% if author.image.name %}
36
+ {% asset_path '{{author.image.name}}' %}
37
+ {% else %}
38
+ {% asset_path 'avatar-placeholder.png' %}
39
+ {% endif %})" />
40
+ {% else %}
25
41
  <a href="{{author-url}}">
26
42
  <img class="blog-author-image" style="
27
43
  background-image:url({% if author.image.name %}
28
- {{author.image.name}}
44
+ {% asset_path '{{author.image.name}}' %}
29
45
  {% else %}
30
- /assets/images/avatar-placeholder.png
46
+ {% asset_path 'avatar-placeholder.png' %}
31
47
  {% endif %})" />
32
48
  </a>
33
- {% comment %}
34
- Co-Author Output.
35
- {% endcomment %}
49
+ {% endif %}
50
+
36
51
  {% if page.co-author %}
37
52
  {% if site.authors %}
38
53
  {% assign co-author = site.authors | where: "username", page.co-author | first %}
39
54
  {% assign co-author-url = co-author.url %}
55
+ {% elsif site.data.authors %}
56
+ {% assign co-author = site.data.authors | where: "username", page.co-author | first %}
57
+ {% assign co-author-url = "#" %}
40
58
  {% endif %}
41
59
  <a href="{{co-author-url}}">
42
60
  <img class="blog-author-image" style="
43
- background-image:url({% if co-author.image.name %}{{co-author.image.name}}{% else %}/assets/images/avatar-placeholder.png{% endif %})" />
61
+ background-image:url({% if co-author.image.name %}
62
+ {% asset_path '{{co-author.image.name}}' %}
63
+ {% else %}
64
+ {% asset_path 'avatar-placeholder.png' %}
65
+ {% endif %})" />
44
66
  </a>
45
67
  <br />
46
68
  <small class="blog-author text-center">
69
+ {% if using-data-file %}
70
+ By
71
+ <em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
72
+ and
73
+ <em>{% if co-author.name %}{{co-author.name}}{% else %}{{page.co-author}}{% endif %}</em>
74
+ {% else %}
47
75
  By
48
76
  <a href="{{author-url}}">
49
77
  <em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
@@ -52,20 +80,26 @@ css-package: blog
52
80
  <a href="{{co-author-url}}">
53
81
  <em>{% if co-author.name %}{{co-author.name}}{% else %}{{page.co-author}}{% endif %}</em>
54
82
  </a>
83
+ {% endif %}
55
84
  </small>
56
85
  <br />
57
86
  {% else %}
58
87
  <br />
59
88
  <small class="blog-author text-center">
89
+ {% if using-data-file %}
90
+ By
91
+ <em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
92
+ {% else %}
60
93
  By
61
94
  <a href="{{author-url}}">
62
95
  <em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
63
96
  </a>
97
+ {% endif %}
64
98
  </small>
65
99
  <br />
66
100
  {% endif %}
67
101
  {% endif %}
68
- <small class="blog-date text-center"><em>{{page.date | date: "%A, %B %-d, %Y"}}</em></small>
102
+ {% if page.date %}<small class="blog-date text-center"><em>{{page.date | date: "%A, %B %-d, %Y"}}</em></small>{% endif %}
69
103
  </div>
70
104
  </div>
71
105
 
@@ -74,12 +108,14 @@ css-package: blog
74
108
  {% endif %}
75
109
 
76
110
  </div>
111
+ {% endif %}
77
112
  {% endif %}
113
+
78
114
  <div class="container-fluid" id="content-container">
79
115
  <div class="row">
80
116
  <div class="container">
81
117
  {% if site.data.settings.blog.sidebar.display-on-posts %}
82
- <div class="col-md-9">
118
+ <div class="col-md-9">
83
119
  <article class="post-content">
84
120
  {% unless page.image.featured %}
85
121
  <div class="post-info">
@@ -117,14 +153,18 @@ css-package: blog
117
153
  {% endunless %}
118
154
  {{ content }}
119
155
  </article>
120
-
156
+
157
+
121
158
  {% if page.featured-products %}
122
159
  <h3>Featured Products</h3>
123
160
  <hr />
124
161
  <div class="row feautured-products-blog-row">
125
162
  {% for each in page.featured-products %}
163
+
126
164
  {% capture product-perma %}/product/{{each}}/{% endcapture %}
165
+
127
166
  {% assign product = site.data.product_db.products | where: "product_permalink", product-perma | first %}
167
+
128
168
  <div class="col-sm-6">
129
169
  <div class="col-xs-3">
130
170
  <div class="featured-product-blog-img">
@@ -140,25 +180,34 @@ css-package: blog
140
180
  </div>
141
181
  {% endfor %}
142
182
  </div>
183
+
143
184
  <hr/>
144
185
  {% endif %}
145
-
146
- {% include post-tags.html %}
147
- {% include post-comments.html %}
186
+
148
187
 
149
- </div>
150
- <div class="col-md-3 blog-sidebar no-padding">
151
- {% include post-sidebar.html %}
152
- </div>
188
+ {% comment %}
189
+ TAGS - Check to see if the tags_enabled setting in settings.yml data file is toggled.
190
+ {% endcomment %}
191
+
192
+ {% include post-tags.html %}
193
+
194
+ {% comment %}
195
+ COMMENTS - Check to see if comments are toggled for this particular post.
196
+ {% endcomment %}
197
+
198
+ {% include post-comments.html %}
199
+ </div>
200
+ <div class="col-md-3 blog-sidebar no-padding">
201
+ {% include post-sidebar.html %}
202
+ </div>
153
203
  {% else %}
154
204
  <div class="col-xs-12 no-padding">
155
205
  <article class="post-content">
156
206
  {% unless page.image.featured %}
157
207
  <div class="post-info">
158
208
  <h1>{{page.title }}</h1>
159
- <small class="blog-date text-center">
160
- <em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em>
161
- </small>
209
+
210
+ {% if page.date %}<small class="blog-date text-center"><em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em></small>{% endif %}
162
211
  {% if page.categories %}in <a href="/categories/#{{page.categories[0]}}">{{page.categories[0] | capitalize}}</a>{% endif %}
163
212
  {% if page.author %}
164
213
  {% assign author = site.authors | where: 'username' , page.author %}
@@ -175,6 +224,7 @@ css-package: blog
175
224
  {{page.author}}
176
225
  </strong>
177
226
  {% endif %}
227
+
178
228
  </em>
179
229
  {% endif %}
180
230
  </div>
@@ -182,7 +232,9 @@ css-package: blog
182
232
  {{ content }}
183
233
  </article>
184
234
  </div>
185
- {% endif %}
235
+ {% endif %}
236
+
237
+
186
238
  </div>
187
239
  </div>
188
240
  </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
@@ -14,16 +14,16 @@ dependencies:
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.7.4
19
+ version: 3.7.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.7.4
26
+ version: 3.7.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-seo-tag
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -254,20 +254,6 @@ dependencies:
254
254
  - - ">="
255
255
  - !ruby/object:Gem::Version
256
256
  version: '0'
257
- - !ruby/object:Gem::Dependency
258
- name: ffi
259
- requirement: !ruby/object:Gem::Requirement
260
- requirements:
261
- - - "~>"
262
- - !ruby/object:Gem::Version
263
- version: 1.9.24
264
- type: :runtime
265
- prerelease: false
266
- version_requirements: !ruby/object:Gem::Requirement
267
- requirements:
268
- - - "~>"
269
- - !ruby/object:Gem::Version
270
- version: 1.9.24
271
257
  - !ruby/object:Gem::Dependency
272
258
  name: bundler
273
259
  requirement: !ruby/object:Gem::Requirement
@@ -366,6 +352,7 @@ files:
366
352
  - _layouts/home.html
367
353
  - _layouts/post-index.html
368
354
  - _layouts/post-no-sidebar.html
355
+ - _layouts/post-old.html
369
356
  - _layouts/post.html
370
357
  - _sass/_bootstrap-compass.scss
371
358
  - _sass/_bootstrap-mincer.scss