jumbo-jekyll-theme 1.4.18 → 1.4.19
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/_config.yml +2 -0
- data/_includes/pagination-authors.html +36 -0
- data/_includes/pagination-news.html +36 -0
- data/_includes/pagination.html +0 -3
- data/_layouts/post-index.html +5 -1
- data/assets/js/package-search.js +0 -1
- metadata +4 -4
- data/assets/js/app/search.js +0 -40
- data/assets/js/package-developer-services.js +0 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 422ca940caee366078001adc504252ef47c701fb
|
|
4
|
+
data.tar.gz: 715eec52c356cc803da809b2734b7de03adfd94b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 722082fea72543d65663eed20ac96315551e37c9201f03e33751a90584f9f6997152a2483aae2df498ba2c1bf1565efc849038fb499a3a025c0db7993e262bde
|
|
7
|
+
data.tar.gz: c5738709ce6310daffced9321b9e7bfcdcfaacf2affa043cd56f188dd3ef637715cfeaaba9c82f214736b045a805140a80d5f25a55194a774931504a9bbc143f
|
data/_config.yml
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{% if paginator.total_pages > 1 %}
|
|
2
|
+
<div class="text-center" id="pagination_panel">
|
|
3
|
+
<ul class="pagination pagination-sm">
|
|
4
|
+
{% if paginator.previous_page %}
|
|
5
|
+
<li><a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a></li>
|
|
6
|
+
{% else %}
|
|
7
|
+
<li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a></li>
|
|
8
|
+
{% endif %}
|
|
9
|
+
|
|
10
|
+
{% if paginator.page_trail %}
|
|
11
|
+
{% for trail in paginator.page_trail %}
|
|
12
|
+
<li {% if page.url == trail.path %}class="active"{% endif %}>
|
|
13
|
+
<a href="{% if trail.num == 1 %}/authors/{% else %}
|
|
14
|
+
{{ site.paginate_path_authors | prepend: site.baseurl | replace: '//', '/' | replace: ':num', trail.num }}{% endif %}"
|
|
15
|
+
title="{{trail.title}}">{{ trail.num }}</a>
|
|
16
|
+
</li>
|
|
17
|
+
{% endfor %}
|
|
18
|
+
{% else %}
|
|
19
|
+
{% for page in (1..paginator.total_pages) %}
|
|
20
|
+
{% if page == paginator.page %}
|
|
21
|
+
<li class="active"><a href="">{{ page }}</a></li>
|
|
22
|
+
{% elsif page == 1 %}
|
|
23
|
+
<li><a href="/authors/">{{ page }}</a></li>
|
|
24
|
+
{% else %}
|
|
25
|
+
<li><a href="{{ site.paginate_path_authors | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a></li>
|
|
26
|
+
{% endif %}
|
|
27
|
+
{% endfor %}
|
|
28
|
+
{% endif %}
|
|
29
|
+
{% if paginator.next_page %}
|
|
30
|
+
<li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a></li>
|
|
31
|
+
{% else %}
|
|
32
|
+
<li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a></li>
|
|
33
|
+
{% endif %}
|
|
34
|
+
</ul>
|
|
35
|
+
</div>
|
|
36
|
+
{% endif %}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{% if paginator.total_pages > 1 %}
|
|
2
|
+
<div class="text-center" id="pagination_panel">
|
|
3
|
+
<ul class="pagination pagination-sm">
|
|
4
|
+
{% if paginator.previous_page %}
|
|
5
|
+
<li><a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a></li>
|
|
6
|
+
{% else %}
|
|
7
|
+
<li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a></li>
|
|
8
|
+
{% endif %}
|
|
9
|
+
|
|
10
|
+
{% if paginator.page_trail %}
|
|
11
|
+
{% for trail in paginator.page_trail %}
|
|
12
|
+
<li {% if page.url == trail.path %}class="active"{% endif %}>
|
|
13
|
+
<a href="{% if trail.num == 1 %}/news/{% else %}
|
|
14
|
+
{{ site.paginate_path_news | prepend: site.baseurl | replace: '//', '/' | replace: ':num', trail.num }}{% endif %}"
|
|
15
|
+
title="{{trail.title}}">{{ trail.num }}</a>
|
|
16
|
+
</li>
|
|
17
|
+
{% endfor %}
|
|
18
|
+
{% else %}
|
|
19
|
+
{% for page in (1..paginator.total_pages) %}
|
|
20
|
+
{% if page == paginator.page %}
|
|
21
|
+
<li class="active"><a href="">{{ page }}</a></li>
|
|
22
|
+
{% elsif page == 1 %}
|
|
23
|
+
<li><a href="/news/">{{ page }}</a></li>
|
|
24
|
+
{% else %}
|
|
25
|
+
<li><a href="{{ site.paginate_path_news | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a></li>
|
|
26
|
+
{% endif %}
|
|
27
|
+
{% endfor %}
|
|
28
|
+
{% endif %}
|
|
29
|
+
{% if paginator.next_page %}
|
|
30
|
+
<li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a></li>
|
|
31
|
+
{% else %}
|
|
32
|
+
<li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a></li>
|
|
33
|
+
{% endif %}
|
|
34
|
+
</ul>
|
|
35
|
+
</div>
|
|
36
|
+
{% endif %}
|
data/_includes/pagination.html
CHANGED
data/_layouts/post-index.html
CHANGED
|
@@ -7,7 +7,11 @@ js-package: blog
|
|
|
7
7
|
<div class="col-md-9">
|
|
8
8
|
{{content}}
|
|
9
9
|
{% include display-blog-posts.html %}
|
|
10
|
-
{%
|
|
10
|
+
{% if page.news %}
|
|
11
|
+
{% include pagination.html %}
|
|
12
|
+
{% else %}
|
|
13
|
+
{% include pagination-news.html %}
|
|
14
|
+
{% endif %}
|
|
11
15
|
</div>
|
|
12
16
|
|
|
13
17
|
<div class="col-md-3 blog-sidebar">
|
data/assets/js/package-search.js
CHANGED
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: 1.4.
|
|
4
|
+
version: 1.4.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kyle Kirkby
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-04-
|
|
11
|
+
date: 2018-04-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -299,6 +299,8 @@ files:
|
|
|
299
299
|
- _includes/nav.html
|
|
300
300
|
- _includes/newsletter.html
|
|
301
301
|
- _includes/owl-carousel-homepage.html
|
|
302
|
+
- _includes/pagination-authors.html
|
|
303
|
+
- _includes/pagination-news.html
|
|
302
304
|
- _includes/pagination.html
|
|
303
305
|
- _includes/post-comments.html
|
|
304
306
|
- _includes/post-sidebar.html
|
|
@@ -474,11 +476,9 @@ files:
|
|
|
474
476
|
- assets/js/app/home.js
|
|
475
477
|
- assets/js/app/main.js
|
|
476
478
|
- assets/js/app/scroll-to-anchors.js
|
|
477
|
-
- assets/js/app/search.js
|
|
478
479
|
- assets/js/app/sticky-tab-bar.js
|
|
479
480
|
- assets/js/app/tables.js
|
|
480
481
|
- assets/js/package-blog.js
|
|
481
|
-
- assets/js/package-developer-services.js
|
|
482
482
|
- assets/js/package-extended.js
|
|
483
483
|
- assets/js/package-home.js
|
|
484
484
|
- assets/js/package-main.js
|
data/assets/js/app/search.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
function getAllUrlParams(url) {
|
|
2
|
-
var queryString = url ? url.split('?')[1] : window.location.search.slice(1);
|
|
3
|
-
var obj = {};
|
|
4
|
-
if (queryString) {
|
|
5
|
-
queryString = queryString.split('#')[0];
|
|
6
|
-
var arr = queryString.split('&');
|
|
7
|
-
|
|
8
|
-
for (var i=0; i<arr.length; i++) {
|
|
9
|
-
var a = arr[i].split('=');
|
|
10
|
-
var paramNum = undefined;
|
|
11
|
-
var paramName = a[0].replace(/\[\d*\]/, function(v) {
|
|
12
|
-
paramNum = v.slice(1,-1);
|
|
13
|
-
return '';
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
var paramValue = typeof(a[1])==='undefined' ? true : a[1];
|
|
17
|
-
paramName = paramName.toLowerCase();
|
|
18
|
-
paramValue = paramValue.toLowerCase();
|
|
19
|
-
if (obj[paramName]) {
|
|
20
|
-
if (typeof obj[paramName] === 'string') {
|
|
21
|
-
obj[paramName] = [obj[paramName]];
|
|
22
|
-
}
|
|
23
|
-
if (typeof paramNum === 'undefined') {
|
|
24
|
-
obj[paramName].push(paramValue);
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
obj[paramName][paramNum] = paramValue;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
obj[paramName] = paramValue;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return obj;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
var searchQuery = getAllUrlParams().s;
|
|
39
|
-
|
|
40
|
-
$('#searchIframe').attr('src', "https://search.linaro.org/search/&q=" + searchQuery);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//= require vendor/jquery
|
|
2
|
-
//= require vendor/bootstrap
|
|
3
|
-
//= require vendor/cookieconsent
|
|
4
|
-
//= require vendor/lazysizes
|
|
5
|
-
|
|
6
|
-
//= require app/main
|
|
7
|
-
//= require app/tables
|
|
8
|
-
//= require vendor/mc-validate
|
|
9
|
-
//= require vendor/jquery.validate
|
|
10
|
-
//= require app/developer-services
|
|
11
|
-
//= require app/custom
|