jumbo-jekyll-theme 5.7.0.1 → 5.7.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +0 -22
- data/_data/picture.yml +5 -0
- data/_includes/blog/{display_blog_posts.html → display_latest_posts.html} +12 -20
- data/_includes/blog/post_search.html +10 -0
- data/_includes/js_bundles/vendor.html +1 -0
- data/_layouts/flow.html +1 -1
- data/_sass/core/blog.scss +44 -0
- data/assets/js/app/main.js +33 -0
- data/assets/js/vendor/simple-jekyll-search.min.js +278 -0
- data/assets/json/posts.json +28 -0
- metadata +12 -25
- data/_layouts/error.html +0 -25
- data/_layouts/post-index.html +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fed455afab075dc1ebe7bf5889ea12d73c52126dd5de843c825b33dc2a2f12eb
|
4
|
+
data.tar.gz: 84e03052252f63b35b29b5eb3748e677e2d07d3626b466c9a4725514026bc385
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e38613c318b716c0657572dc4c832db76d5dca942d3abd78bc428db90f8f0693a11a9205b3078fae69b8f121449433e7b0ce914969ab69fdd2a7f35766439c6d
|
7
|
+
data.tar.gz: 4406c0cb307e2aa1c5d17f1d8c3d215fc1067994fd6502bc7501b4552ed81b16495f7955e5e738fff55630b9be5895d58ea55c3ef98bcd6e5c7f35e5518da8a4
|
data/_config.yml
CHANGED
@@ -33,7 +33,6 @@ plugins:
|
|
33
33
|
- japr
|
34
34
|
- jekyll_picture_tag
|
35
35
|
- jekyll-tidy
|
36
|
-
- jekyll-paginate-v2
|
37
36
|
collections:
|
38
37
|
authors:
|
39
38
|
output: true
|
@@ -59,10 +58,6 @@ defaults:
|
|
59
58
|
layout: author
|
60
59
|
include: ["_pages"]
|
61
60
|
# ----------- THEME / WEBSITE CONFIG ---------------------
|
62
|
-
# Permalink style used for paginating pages
|
63
|
-
paginate_path: /blog/:num/
|
64
|
-
paginate_path_news: /news/:num/
|
65
|
-
paginate_path_authors: /authors/:num/
|
66
61
|
# Blog images/thumbs dir
|
67
62
|
blog_images_dir: assets/images/content/
|
68
63
|
# Email
|
@@ -143,23 +138,6 @@ jekyll_tidy:
|
|
143
138
|
compress_html: true
|
144
139
|
# JS Path added to exclude to stop errors.
|
145
140
|
exclude: ["assets/**/*.js", "robots.txt", "admin/config.yml"]
|
146
|
-
# -------- jekyll-paginate-v2 --------
|
147
|
-
pagination:
|
148
|
-
# Default pagination path for Jekyll Posts
|
149
|
-
# For other permalinks set in the front matter of the post index page
|
150
|
-
permalink: /:num/
|
151
|
-
# Enabled or not?
|
152
|
-
enabled: true
|
153
|
-
# Home many posts to display by default
|
154
|
-
per_page: 9
|
155
|
-
# Number of pages to show either side of the current page i.e - 1, 2, {3}, 4, 5
|
156
|
-
trail:
|
157
|
-
before: 2
|
158
|
-
after: 2
|
159
|
-
# Reverse the order of paginated pages
|
160
|
-
sort_reverse: true
|
161
|
-
# Field to sort posts by when paginating
|
162
|
-
sort_field: "date"
|
163
141
|
autopages:
|
164
142
|
enabled: false
|
165
143
|
# -------- jekyll_relative_links --------
|
data/_data/picture.yml
CHANGED
@@ -1,19 +1,15 @@
|
|
1
|
-
{% if
|
2
|
-
|
3
|
-
|
1
|
+
{% if include.object.category %}
|
2
|
+
{% assign posts = site.categories[include.object.category] | sort: 'date' | reverse %}
|
3
|
+
{% else %}
|
4
|
+
{% assign posts = site.posts | sort: 'date' | reverse %}
|
5
|
+
{% endif %}
|
6
|
+
<div class="row py-0">
|
7
|
+
{% for post in posts limit: 9 %}
|
4
8
|
{% assign timeframe = 604800 %}
|
5
9
|
{% assign post_in_seconds = post.date | date: "%s" | plus: 0 %}
|
6
10
|
{% assign recent_posts = "now" | date: "%s" | minus: timeframe %}
|
7
11
|
|
8
|
-
{% if forloop.first
|
9
|
-
<style>
|
10
|
-
@media(min-width: 1000px){
|
11
|
-
.blog-post-item-col:nth-child(3n+2) > .blog-post-item {
|
12
|
-
margin-right:0px !important;
|
13
|
-
margin-left:0px !important;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
</style>
|
12
|
+
{% if forloop.first %}
|
17
13
|
<div class="col col-12 featured_post">
|
18
14
|
<div class="row">
|
19
15
|
<div class="col col-12 col-lg-7 order-lg-2 px-0 px-sm-0 latest-featured-post">
|
@@ -62,12 +58,13 @@
|
|
62
58
|
</div>
|
63
59
|
</div>
|
64
60
|
</div>
|
65
|
-
|
61
|
+
{% else %}
|
66
62
|
|
67
63
|
{% comment %}
|
68
64
|
Blog Filler Element - This is needed due to the layout of the blog. If not included then there will be an empty col on the first blog page.
|
69
65
|
{% endcomment %}
|
70
|
-
|
66
|
+
|
67
|
+
{% if forloop.index == 6 %}
|
71
68
|
{% include {{site.blog_filler_element}} %}
|
72
69
|
{% endif %}
|
73
70
|
|
@@ -118,9 +115,4 @@
|
|
118
115
|
</div>
|
119
116
|
{% endif %}
|
120
117
|
{% endfor %}
|
121
|
-
|
122
|
-
{% else %}
|
123
|
-
<p>
|
124
|
-
No posts of this category were found!
|
125
|
-
</p>
|
126
|
-
{% endif %}
|
118
|
+
</div>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{% assign url = include.object.payload | where: 'name', 'url' | first %}
|
2
|
+
<div class="col col-12 ">
|
3
|
+
<div id="post_search" data-file-path="{{url.data}}">
|
4
|
+
<input class="form-control form-control-lg" id="search-input" type="text" placeholder="Search {{posts.size}} posts..."/>
|
5
|
+
<a class="close_search" href="#">
|
6
|
+
X <span class="sr-only">Clear Search</span>
|
7
|
+
</a>
|
8
|
+
<ul class="list-unstyled p-3" id="results-container"></ul>
|
9
|
+
</div>
|
10
|
+
</div>
|
data/_layouts/flow.html
CHANGED
@@ -20,7 +20,7 @@ layout: base
|
|
20
20
|
{% elsif each.row == "full_width_row" %}
|
21
21
|
{% include flow/full_width_row.html object=each %}
|
22
22
|
{% elsif each.row == "custom_include_row" %}
|
23
|
-
{% include {{each.source}} %}
|
23
|
+
{% include {{each.source}} object=each %}
|
24
24
|
{% endif %}
|
25
25
|
{% endfor %}
|
26
26
|
{% else %}
|
data/_sass/core/blog.scss
CHANGED
@@ -1,4 +1,32 @@
|
|
1
1
|
#wrapper {
|
2
|
+
#post_search {
|
3
|
+
#results-container {
|
4
|
+
position: absolute;
|
5
|
+
z-index: 9999;
|
6
|
+
background-color: white;
|
7
|
+
width: 100%;
|
8
|
+
border: 1px solid #eee;
|
9
|
+
height: 300px;
|
10
|
+
overflow: scroll;
|
11
|
+
}
|
12
|
+
.close_search {
|
13
|
+
display:none;
|
14
|
+
position: absolute;
|
15
|
+
top: 0px;
|
16
|
+
right: 0px;
|
17
|
+
font-size: 26px;
|
18
|
+
color:#000;
|
19
|
+
line-height: 80px;
|
20
|
+
padding-right: 10px;
|
21
|
+
&:hover{
|
22
|
+
text-decoration: none;
|
23
|
+
color:$primary;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
.search_result_img {
|
27
|
+
width: 100px;
|
28
|
+
}
|
29
|
+
}
|
2
30
|
.highlighter-rouge {
|
3
31
|
div.highlight {
|
4
32
|
position: relative;
|
@@ -36,6 +64,12 @@
|
|
36
64
|
h5{
|
37
65
|
font-size: 1.7rem;
|
38
66
|
}
|
67
|
+
& > a {
|
68
|
+
color: #313131;
|
69
|
+
&:hover{
|
70
|
+
text-decoration: none;
|
71
|
+
}
|
72
|
+
}
|
39
73
|
}
|
40
74
|
.suggested_post_date {
|
41
75
|
display:block;
|
@@ -62,9 +96,19 @@
|
|
62
96
|
-webkit-box-shadow: 0px 0px 20px 5px #f0f0f0;
|
63
97
|
-moz-box-shadow: 0px 0px 20px 5px #e5e5e5;
|
64
98
|
box-shadow: 0px 0px 20px 5px #ebebeb;
|
99
|
+
margin-left: 0;
|
100
|
+
margin-right: 0;
|
101
|
+
padding: 0px;
|
65
102
|
.latest-featured-post-content {
|
66
103
|
.card{
|
67
104
|
border-radius: 20px;
|
105
|
+
border-top-right-radius: 0px;
|
106
|
+
border-bottom-right-radius: 0px;
|
107
|
+
@include media-breakpoint-down(sm){
|
108
|
+
border-bottom-right-radius: 20px;
|
109
|
+
border-top-right-radius: 0px;
|
110
|
+
border-top-left-radius: 0px;;
|
111
|
+
}
|
68
112
|
}
|
69
113
|
}
|
70
114
|
}
|
data/assets/js/app/main.js
CHANGED
@@ -295,4 +295,37 @@ $(document).ready(function() {
|
|
295
295
|
$(function() {
|
296
296
|
$('[data-toggle="tooltip"]').tooltip();
|
297
297
|
});
|
298
|
+
|
299
|
+
if ($("#post_search").length > 0) {
|
300
|
+
var file_path = $("#post_search").data("file-path");
|
301
|
+
|
302
|
+
$("#results-container").hide();
|
303
|
+
$("#search-input").keyup(function() {
|
304
|
+
if ($("#search-input").val().length == 0) {
|
305
|
+
$("#results-container").fadeOut("fast");
|
306
|
+
$(".close_search").hide();
|
307
|
+
} else {
|
308
|
+
$("#results-container").fadeIn("fast");
|
309
|
+
$(".close_search").show();
|
310
|
+
}
|
311
|
+
});
|
312
|
+
$(".close_search").click(function(e) {
|
313
|
+
e.preventDefault();
|
314
|
+
$("#search-input").val("");
|
315
|
+
$("#results-container").fadeOut("fast");
|
316
|
+
$(".close_search").hide();
|
317
|
+
});
|
318
|
+
|
319
|
+
console.log(file_path);
|
320
|
+
SimpleJekyllSearch({
|
321
|
+
searchInput: document.getElementById("search-input"),
|
322
|
+
resultsContainer: document.getElementById("results-container"),
|
323
|
+
searchResultTemplate:
|
324
|
+
'<li class="media flex-row"><picture><img class="lazyload mr-3 img-thumbnail suggested_post_thumb search_result_img" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="{image}"></picture><div class="media-body"><a href="{url}"><h5 class="mt-0 mb-1">{title}</h5><em class="suggested_post_date">{date}</em><p>{description}</p></a></div></li>',
|
325
|
+
json: file_path,
|
326
|
+
success: function(data) {
|
327
|
+
console.log(data);
|
328
|
+
}
|
329
|
+
});
|
330
|
+
}
|
298
331
|
});
|
@@ -0,0 +1,278 @@
|
|
1
|
+
/*!
|
2
|
+
* Simple-Jekyll-Search v1.7.2 (https://github.com/christian-fei/Simple-Jekyll-Search)
|
3
|
+
* Copyright 2015-2018, Christian Fei
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*/
|
6
|
+
!(function() {
|
7
|
+
"use strict";
|
8
|
+
var f = {
|
9
|
+
load: function w(t, e) {
|
10
|
+
var n = (function r() {
|
11
|
+
return window.XMLHttpRequest
|
12
|
+
? new window.XMLHttpRequest()
|
13
|
+
: new ActiveXObject("Microsoft.XMLHTTP");
|
14
|
+
})();
|
15
|
+
n.open("GET", t, !0),
|
16
|
+
(n.onreadystatechange = (function i(e, n) {
|
17
|
+
return function() {
|
18
|
+
if (4 === e.readyState && 200 === e.status)
|
19
|
+
try {
|
20
|
+
n(null, JSON.parse(e.responseText));
|
21
|
+
} catch (t) {
|
22
|
+
n(t, null);
|
23
|
+
}
|
24
|
+
};
|
25
|
+
})(n, e)),
|
26
|
+
n.send();
|
27
|
+
}
|
28
|
+
};
|
29
|
+
(function y(t) {
|
30
|
+
if (
|
31
|
+
!(function e(t) {
|
32
|
+
return (
|
33
|
+
!!t && "undefined" != typeof t.required && t.required instanceof Array
|
34
|
+
);
|
35
|
+
})(t)
|
36
|
+
)
|
37
|
+
throw new Error("-- OptionsValidator: required options missing");
|
38
|
+
if (!(this instanceof y)) return new y(t);
|
39
|
+
var r = t.required;
|
40
|
+
(this.getRequiredOptions = function() {
|
41
|
+
return r;
|
42
|
+
}),
|
43
|
+
(this.validate = function(e) {
|
44
|
+
var n = [];
|
45
|
+
return (
|
46
|
+
r.forEach(function(t) {
|
47
|
+
"undefined" == typeof e[t] && n.push(t);
|
48
|
+
}),
|
49
|
+
n
|
50
|
+
);
|
51
|
+
});
|
52
|
+
});
|
53
|
+
var n = function g(t, e) {
|
54
|
+
var n = e.length,
|
55
|
+
r = t.length;
|
56
|
+
if (n < r) return !1;
|
57
|
+
if (r === n) return t === e;
|
58
|
+
t: for (var i = 0, o = 0; i < r; i++) {
|
59
|
+
for (var u = t.charCodeAt(i); o < n; )
|
60
|
+
if (e.charCodeAt(o++) === u) continue t;
|
61
|
+
return !1;
|
62
|
+
}
|
63
|
+
return !0;
|
64
|
+
},
|
65
|
+
e = new (function t() {
|
66
|
+
this.matches = function(t, e) {
|
67
|
+
return n(e.toLowerCase(), t.toLowerCase());
|
68
|
+
};
|
69
|
+
})();
|
70
|
+
var r = new (function O() {
|
71
|
+
this.matches = function(e, t) {
|
72
|
+
return (
|
73
|
+
!!e &&
|
74
|
+
((e = e.trim().toLowerCase()),
|
75
|
+
(t = t.trim().toLowerCase()).split(" ").filter(function(t) {
|
76
|
+
return 0 <= e.indexOf(t);
|
77
|
+
}).length === t.split(" ").length)
|
78
|
+
);
|
79
|
+
};
|
80
|
+
})();
|
81
|
+
var l = {
|
82
|
+
put: function z(t) {
|
83
|
+
if (c(t)) return s(t);
|
84
|
+
if (
|
85
|
+
(function e(t) {
|
86
|
+
return (
|
87
|
+
Boolean(t) && "[object Array]" === Object.prototype.toString.call(t)
|
88
|
+
);
|
89
|
+
})(t)
|
90
|
+
)
|
91
|
+
return (function i(t) {
|
92
|
+
var e = [];
|
93
|
+
a();
|
94
|
+
for (var n = 0, r = t.length; n < r; n++) c(t[n]) && e.push(s(t[n]));
|
95
|
+
return e;
|
96
|
+
})(t);
|
97
|
+
return undefined;
|
98
|
+
},
|
99
|
+
clear: a,
|
100
|
+
search: function S(t) {
|
101
|
+
return t
|
102
|
+
? (function a(t, e, n, r) {
|
103
|
+
for (var i = [], o = 0; o < t.length && i.length < r.limit; o++) {
|
104
|
+
var u = d(t[o], e, n, r);
|
105
|
+
u && i.push(u);
|
106
|
+
}
|
107
|
+
return i;
|
108
|
+
})(o, t, u.searchStrategy, u).sort(u.sort)
|
109
|
+
: [];
|
110
|
+
},
|
111
|
+
setOptions: function q(t) {
|
112
|
+
((u = t || {}).fuzzy = t.fuzzy || !1),
|
113
|
+
(u.limit = t.limit || 10),
|
114
|
+
(u.searchStrategy = t.fuzzy ? e : r),
|
115
|
+
(u.sort = t.sort || i);
|
116
|
+
}
|
117
|
+
};
|
118
|
+
function i() {
|
119
|
+
return 0;
|
120
|
+
}
|
121
|
+
var o = [],
|
122
|
+
u = {};
|
123
|
+
function a() {
|
124
|
+
return (o.length = 0), o;
|
125
|
+
}
|
126
|
+
function c(t) {
|
127
|
+
return (
|
128
|
+
Boolean(t) && "[object Object]" === Object.prototype.toString.call(t)
|
129
|
+
);
|
130
|
+
}
|
131
|
+
function s(t) {
|
132
|
+
return o.push(t), o;
|
133
|
+
}
|
134
|
+
function d(t, e, n, r) {
|
135
|
+
for (var i in t) if (!p(t[i], r.exclude) && n.matches(t[i], e)) return t;
|
136
|
+
}
|
137
|
+
function p(t, e) {
|
138
|
+
for (var n = !1, r = 0, i = (e = e || []).length; r < i; r++) {
|
139
|
+
var o = e[r];
|
140
|
+
!n && new RegExp(t).test(o) && (n = !0);
|
141
|
+
}
|
142
|
+
return n;
|
143
|
+
}
|
144
|
+
(u.fuzzy = !1),
|
145
|
+
(u.limit = 10),
|
146
|
+
(u.searchStrategy = u.fuzzy ? e : r),
|
147
|
+
(u.sort = i);
|
148
|
+
var h = {
|
149
|
+
compile: function j(r) {
|
150
|
+
return m.template.replace(m.pattern, function(t, e) {
|
151
|
+
var n = m.middleware(e, r[e], m.template);
|
152
|
+
return void 0 !== n ? n : r[e] || t;
|
153
|
+
});
|
154
|
+
},
|
155
|
+
setOptions: function C(t) {
|
156
|
+
(m.pattern = t.pattern || m.pattern),
|
157
|
+
(m.template = t.template || m.template),
|
158
|
+
"function" == typeof t.middleware && (m.middleware = t.middleware);
|
159
|
+
}
|
160
|
+
},
|
161
|
+
m = {};
|
162
|
+
(m.pattern = /\{(.*?)\}/g), (m.template = ""), (m.middleware = function() {});
|
163
|
+
var v = {
|
164
|
+
merge: function L(t, e) {
|
165
|
+
var n = {};
|
166
|
+
for (var r in t)
|
167
|
+
(n[r] = t[r]), "undefined" != typeof e[r] && (n[r] = e[r]);
|
168
|
+
return n;
|
169
|
+
},
|
170
|
+
isJSON: function M(t) {
|
171
|
+
try {
|
172
|
+
return !!(t instanceof Object && JSON.parse(JSON.stringify(t)));
|
173
|
+
} catch (e) {
|
174
|
+
return !1;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
};
|
178
|
+
!(function(t) {
|
179
|
+
var o = {
|
180
|
+
searchInput: null,
|
181
|
+
resultsContainer: null,
|
182
|
+
json: [],
|
183
|
+
success: Function.prototype,
|
184
|
+
searchResultTemplate:
|
185
|
+
'<li><a href="{url}" title="{desc}">{title}</a></li>',
|
186
|
+
templateMiddleware: Function.prototype,
|
187
|
+
sortMiddleware: function() {
|
188
|
+
return 0;
|
189
|
+
},
|
190
|
+
noResultsText: "No results found",
|
191
|
+
limit: 10,
|
192
|
+
fuzzy: !1,
|
193
|
+
exclude: []
|
194
|
+
},
|
195
|
+
n = ["searchInput", "resultsContainer", "json"],
|
196
|
+
r = (function y(e) {
|
197
|
+
if (
|
198
|
+
!(function n(t) {
|
199
|
+
return (
|
200
|
+
!!t &&
|
201
|
+
"undefined" != typeof t.required &&
|
202
|
+
t.required instanceof Array
|
203
|
+
);
|
204
|
+
})(e)
|
205
|
+
)
|
206
|
+
throw new Error("-- OptionsValidator: required options missing");
|
207
|
+
if (!(this instanceof y)) return new y(e);
|
208
|
+
var r = e.required;
|
209
|
+
(this.getRequiredOptions = function() {
|
210
|
+
return r;
|
211
|
+
}),
|
212
|
+
(this.validate = function(e) {
|
213
|
+
var n = [];
|
214
|
+
return (
|
215
|
+
r.forEach(function(t) {
|
216
|
+
"undefined" == typeof e[t] && n.push(t);
|
217
|
+
}),
|
218
|
+
n
|
219
|
+
);
|
220
|
+
});
|
221
|
+
})({ required: n });
|
222
|
+
function i(t) {
|
223
|
+
o.success(t),
|
224
|
+
l.put(t),
|
225
|
+
(function e() {
|
226
|
+
o.searchInput.addEventListener("keyup", function(t) {
|
227
|
+
(function e(t) {
|
228
|
+
return -1 === [13, 16, 20, 37, 38, 39, 40, 91].indexOf(t);
|
229
|
+
})(t.which) && (u(), c(t.target.value));
|
230
|
+
});
|
231
|
+
})();
|
232
|
+
}
|
233
|
+
function u() {
|
234
|
+
o.resultsContainer.innerHTML = "";
|
235
|
+
}
|
236
|
+
function a(t) {
|
237
|
+
o.resultsContainer.innerHTML += t;
|
238
|
+
}
|
239
|
+
function c(t) {
|
240
|
+
(function e(t) {
|
241
|
+
return t && 0 < t.length;
|
242
|
+
})(t) &&
|
243
|
+
(u(),
|
244
|
+
(function i(t, e) {
|
245
|
+
var n = t.length;
|
246
|
+
if (0 === n) return a(o.noResultsText);
|
247
|
+
for (var r = 0; r < n; r++) (t[r].query = e), a(h.compile(t[r]));
|
248
|
+
})(l.search(t), t));
|
249
|
+
}
|
250
|
+
function s(t) {
|
251
|
+
throw new Error("SimpleJekyllSearch --- " + t);
|
252
|
+
}
|
253
|
+
t.SimpleJekyllSearch = function(t) {
|
254
|
+
return (
|
255
|
+
0 < r.validate(t).length &&
|
256
|
+
s("You must specify the following required options: " + n),
|
257
|
+
(o = v.merge(o, t)),
|
258
|
+
h.setOptions({
|
259
|
+
template: o.searchResultTemplate,
|
260
|
+
middleware: o.templateMiddleware
|
261
|
+
}),
|
262
|
+
l.setOptions({
|
263
|
+
fuzzy: o.fuzzy,
|
264
|
+
limit: o.limit,
|
265
|
+
sort: o.sortMiddleware
|
266
|
+
}),
|
267
|
+
v.isJSON(o.json)
|
268
|
+
? i(o.json)
|
269
|
+
: (function e(n) {
|
270
|
+
f.load(n, function(t, e) {
|
271
|
+
t && s("failed to get JSON (" + n + ")"), i(e);
|
272
|
+
});
|
273
|
+
})(o.json),
|
274
|
+
{ search: c }
|
275
|
+
);
|
276
|
+
};
|
277
|
+
})(window);
|
278
|
+
})();
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
layout: null
|
3
|
+
---
|
4
|
+
[
|
5
|
+
{% for post in site.posts %}
|
6
|
+
{
|
7
|
+
"title": "{{ post.title | escape }}",
|
8
|
+
"category": "{{ post.category }}",
|
9
|
+
"content": "{{ post.content | strip_html | strip_newlines | remove_chars | escape }}",
|
10
|
+
"image": "{% if post.image %}
|
11
|
+
{% assign image_path = post.image | remove_first: '/assets/images/' %}
|
12
|
+
{% capture image_alt %}{{post.title}} image {% endcapture %}
|
13
|
+
{% else %}
|
14
|
+
{% assign image_path = site.post_placeholder | remove_first: '/assets/images/' %}
|
15
|
+
{% capture image_alt %}{{post.title}} placeholder image {% endcapture %}
|
16
|
+
{% endif %}{% picture post_thumb_src_only {{image_path}} --alt {{image_alt}} %}",
|
17
|
+
"tags": "{{ post.tags | join: ', ' }}",
|
18
|
+
"url": "{{ site.baseurl }}{{ post.url }}",
|
19
|
+
"description": "{% if post.description %}
|
20
|
+
{{post.description}}
|
21
|
+
{% else %}
|
22
|
+
{{ post.content | strip_html | truncatewords:30 }}
|
23
|
+
{% endif %}",
|
24
|
+
"date": "{{ post.date | date: '%A, %B %-d, %Y' }}"
|
25
|
+
} {% unless forloop.last %},
|
26
|
+
{% endunless %}
|
27
|
+
{% endfor %}
|
28
|
+
]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jumbo-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.7.0.
|
4
|
+
version: 5.7.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Kirkby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 1.4.0
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: japr
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - '='
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 0.4.2
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - '='
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 0.4.2
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: jekyll-tidy
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,33 +81,33 @@ dependencies:
|
|
95
81
|
- !ruby/object:Gem::Version
|
96
82
|
version: 0.2.2
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
|
-
name: jekyll-
|
84
|
+
name: jekyll-feed
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
87
|
- - '='
|
102
88
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
89
|
+
version: 0.13.0
|
104
90
|
type: :runtime
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
94
|
- - '='
|
109
95
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
96
|
+
version: 0.13.0
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
98
|
+
name: japr
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
101
|
- - '='
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
103
|
+
version: 0.4.2
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
108
|
- - '='
|
123
109
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
110
|
+
version: 0.4.2
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: bundler
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -166,10 +152,11 @@ files:
|
|
166
152
|
- _data/universal_nav.yml
|
167
153
|
- _includes/blog/authors_posts.html
|
168
154
|
- _includes/blog/blog_filler_element.html
|
169
|
-
- _includes/blog/
|
155
|
+
- _includes/blog/display_latest_posts.html
|
170
156
|
- _includes/blog/disqus_comments.html
|
171
157
|
- _includes/blog/latest_posts.html
|
172
158
|
- _includes/blog/pagination.html
|
159
|
+
- _includes/blog/post_search.html
|
173
160
|
- _includes/blog/post_series.html
|
174
161
|
- _includes/blog/post_sidebar.html
|
175
162
|
- _includes/blog/read_time.html
|
@@ -215,9 +202,7 @@ files:
|
|
215
202
|
- _layouts/author.html
|
216
203
|
- _layouts/base.html
|
217
204
|
- _layouts/default.html
|
218
|
-
- _layouts/error.html
|
219
205
|
- _layouts/flow.html
|
220
|
-
- _layouts/post-index.html
|
221
206
|
- _layouts/post.html
|
222
207
|
- _sass/app/blog.scss
|
223
208
|
- _sass/app/overrides.scss
|
@@ -366,6 +351,8 @@ files:
|
|
366
351
|
- assets/js/vendor/lazysizes.js
|
367
352
|
- assets/js/vendor/ls.unveilhooks.js
|
368
353
|
- assets/js/vendor/owl.carousel.js
|
354
|
+
- assets/js/vendor/simple-jekyll-search.min.js
|
355
|
+
- assets/json/posts.json
|
369
356
|
- robots.txt
|
370
357
|
homepage: https://github.com/linaro-marketing/jumbo-jekyll-theme/
|
371
358
|
licenses:
|
data/_layouts/error.html
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: base
|
3
|
-
css-package: error
|
4
|
-
---
|
5
|
-
<div class="row" id="content-container">
|
6
|
-
<div class="container">
|
7
|
-
<div class="text-center">
|
8
|
-
{% if page.image.path %}
|
9
|
-
{% include image.html path=page.image.path %}
|
10
|
-
{% elsif page.image.svg %}
|
11
|
-
{% include {{page.image.svg}} %}
|
12
|
-
{% endif %}
|
13
|
-
{% if page.title %}
|
14
|
-
<h1>
|
15
|
-
{{page.title}}
|
16
|
-
</h1>
|
17
|
-
{% endif %}
|
18
|
-
{% if page.description %}
|
19
|
-
<p>
|
20
|
-
{{page.description}}
|
21
|
-
</p>
|
22
|
-
{% endif %}
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
</div>
|
data/_layouts/post-index.html
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: base
|
3
|
-
title: Blog
|
4
|
-
css_package: blog
|
5
|
-
---
|
6
|
-
<div class="container-fluid main_content">
|
7
|
-
<div class="row">
|
8
|
-
<div class="container">
|
9
|
-
{% include blog/display_blog_posts.html %}
|
10
|
-
{% if page.news %}
|
11
|
-
{% include blog/pagination.html path="/news/:num/"%}
|
12
|
-
{% else %}
|
13
|
-
{% include blog/pagination.html path="/blog/:num/"%}
|
14
|
-
{% endif %}
|
15
|
-
</div>
|
16
|
-
</div>
|
17
|
-
</div>
|