jumbo-jekyll-theme 3.6.3 → 3.6.4
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/_data/nav.yml +1 -1
- data/_includes/post-tags.html +1 -1
- data/_layouts/post.html +8 -4
- data/_sass/app/overrides.scss +2 -0
- data/_sass/core/nav.scss +21 -1
- data/assets/js/app/main.js +37 -44
- metadata +2 -3
- data/_layouts/post-old.html +0 -70
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b5ebf0715c57e4d2230b76e5aee98e214018d572b61cfd2f11e091cb4c49e45
|
4
|
+
data.tar.gz: d0f4cf6793aae6bffe761e314ac22b892066a3d106154acc80c387908995f3e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f148897252be98f3c4c39ecd6893f5db94e47d07a83a6f99627d4c6e8d6300916d840d97712e04ef82ee615fb4e9a8e7b928b94255773ab0b63f2b6c3c27f2a
|
7
|
+
data.tar.gz: 9e664eef78eeb1d5aa951c8b9f02f731bbf6070da4eab2c7f99b0bc4efa08ff0e9a799c9b422627add3ad75f55ebc37ce25225fb9d7072b3fb153f5509d28027
|
data/_data/nav.yml
CHANGED
data/_includes/post-tags.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -105,10 +105,14 @@ css-package: blog
|
|
105
105
|
{% include disqus-comments.html %}
|
106
106
|
</div>
|
107
107
|
<div class="col-md-3 blog-sidebar no-padding">
|
108
|
-
{% if
|
109
|
-
{%
|
110
|
-
|
111
|
-
{%
|
108
|
+
{% if site.data.settings.blog.tags_enabled %}
|
109
|
+
{% if page.tags %}
|
110
|
+
{% assign post_tags = page.tags %}
|
111
|
+
{% elsif page.keywords %}
|
112
|
+
{% assign post_tags = page.tags %}
|
113
|
+
{% else %}
|
114
|
+
{% assign post_tags = "" %}
|
115
|
+
{% endif %}
|
112
116
|
{% else %}
|
113
117
|
{% assign post_tags = "" %}
|
114
118
|
{% endif %}
|
data/_sass/app/overrides.scss
CHANGED
@@ -16,6 +16,8 @@ $navbar-hover-background-color: $brand-primary !default;
|
|
16
16
|
$navbar-height: 66px;
|
17
17
|
$navbar-inverse-bg: #000;
|
18
18
|
$navbar-inverse-color: #fff;
|
19
|
+
$navbar-submenu-bg-color: #3e3e3e !default;
|
20
|
+
$navbar-submenu-color: #fff !default;
|
19
21
|
// Breadcrumb
|
20
22
|
$breadcrumb-background-color: $brand-primary !default;
|
21
23
|
$breadcrumb-title-color: #fff !default;
|
data/_sass/core/nav.scss
CHANGED
@@ -977,4 +977,24 @@ li.dropdown.menu.active.open > a {
|
|
977
977
|
}
|
978
978
|
#main-navigation li.main a.main-anchor {
|
979
979
|
transition: background-color 300ms linear;
|
980
|
-
}
|
980
|
+
}
|
981
|
+
|
982
|
+
@media(max-width: $screen-sm-min){
|
983
|
+
#main-navigation ul{
|
984
|
+
li {
|
985
|
+
a {
|
986
|
+
text-align:center;
|
987
|
+
}
|
988
|
+
}
|
989
|
+
.dropdown-menu.sub-menu {
|
990
|
+
margin-left:0px;
|
991
|
+
li {
|
992
|
+
background-color: $navbar-submenu-bg-color;
|
993
|
+
a{
|
994
|
+
color: $navbar-submenu-color;
|
995
|
+
}
|
996
|
+
}
|
997
|
+
}
|
998
|
+
|
999
|
+
}
|
1000
|
+
}
|
data/assets/js/app/main.js
CHANGED
@@ -4,8 +4,8 @@ $(window).click(function() {
|
|
4
4
|
});
|
5
5
|
$(document).ready(function () {
|
6
6
|
// Toggle the sub menu when clicked.
|
7
|
-
$('.dropdown-submenu.sub-menu a').on("click", function(e){
|
8
|
-
if($(this).hasClass("active")){
|
7
|
+
$('.dropdown-submenu.sub-menu a').on("click", function (e) {
|
8
|
+
if ($(this).hasClass("active")) {
|
9
9
|
$(this).next('ul').hide();
|
10
10
|
$(this).removeClass("active");
|
11
11
|
}
|
@@ -17,74 +17,73 @@ $(document).ready(function () {
|
|
17
17
|
}
|
18
18
|
e.stopPropagation();
|
19
19
|
});
|
20
|
-
//
|
20
|
+
// Theme navbar setup
|
21
21
|
var wrapper = $('#wrapper');
|
22
22
|
var universalNav = false;
|
23
23
|
var universalNavHeight = 0;
|
24
|
-
if("#universal-nav".length>0){
|
24
|
+
if($("#universal-nav").length > 0){
|
25
25
|
var universalNav = $('#universal-nav');
|
26
26
|
var universalNavHeight = $("#universal-nav").height();
|
27
27
|
}
|
28
28
|
var stickyOffset = $('#main-navigation').offset().top;
|
29
29
|
var wrapper = $('#wrapper');
|
30
|
-
function navbar(){
|
31
|
-
var sticky = $('#main-navigation'),
|
32
|
-
scroll = $(window).scrollTop();
|
33
30
|
|
34
|
-
|
35
|
-
|
31
|
+
function navbar() {
|
32
|
+
// Main Navigation Selector
|
33
|
+
var sticky = $('#main-navigation');
|
34
|
+
// Scroll value
|
35
|
+
var scroll = $(window).scrollTop();
|
36
|
+
|
37
|
+
if (scroll > stickyOffset) {
|
36
38
|
sticky.removeClass('navbar-static');
|
37
|
-
|
38
|
-
|
39
|
-
|
39
|
+
if(universalNav === false){
|
40
|
+
wrapper.css('margin-top', "66px");
|
41
|
+
}
|
42
|
+
else{
|
43
|
+
wrapper.css('margin-top', "104px");
|
44
|
+
}
|
45
|
+
|
46
|
+
if (universalNav) {
|
47
|
+
universalNav.hide();
|
40
48
|
}
|
49
|
+
|
41
50
|
sticky.addClass('navbar-fixed-top');
|
42
|
-
}
|
43
|
-
else
|
44
|
-
{
|
51
|
+
}
|
52
|
+
else {
|
45
53
|
sticky.removeClass('navbar-fixed-top');
|
46
54
|
wrapper.css('margin-top', '0px');
|
47
|
-
|
48
|
-
|
55
|
+
|
56
|
+
if (universalNav) {
|
57
|
+
universalNav.slideDown(100);
|
49
58
|
}
|
59
|
+
|
50
60
|
sticky.addClass('navbar-static');
|
51
61
|
}
|
52
62
|
}
|
53
63
|
navbar();
|
54
|
-
$(window).scroll(function(){
|
64
|
+
$(window).scroll(function () {
|
55
65
|
navbar();
|
56
66
|
});
|
67
|
+
|
57
68
|
// Initialise dropdowns
|
58
69
|
$('.dropdown-toggle').dropdown();
|
59
|
-
|
60
|
-
//Reset form when bootstrap modal closes.
|
70
|
+
// Reset forms when bootstrap modal closes.
|
61
71
|
$('.modal').on('hidden.bs.modal', function(){
|
62
72
|
$(this).find('form')[0].reset();
|
63
73
|
});
|
64
|
-
|
65
|
-
$('#stacked-nav-bar').on('show.bs.collapse', function() {
|
66
|
-
$('.nav-pills').addClass('nav-stacked');
|
67
|
-
});
|
68
|
-
|
69
|
-
//Unstack menu when not collapsed
|
74
|
+
// Stacked Navbar
|
70
75
|
$('#stacked-nav-bar').on('hidden.bs.collapse', function() {
|
71
76
|
$('.nav-pills').removeClass('nav-stacked');
|
72
77
|
});
|
73
|
-
|
74
|
-
$("#developer-services-contact-modal").modal('show');
|
75
|
-
});
|
76
|
-
|
77
|
-
//Scrolling sticking on IOS7
|
78
|
+
// Scrolling sticking on IOS7 (Bug fix)
|
78
79
|
if (navigator.userAgent.match(/.*CPU.*OS 7_\d/i)){$('html').addClass('ios7');}
|
79
|
-
|
80
|
+
// Dropdown menu JS
|
80
81
|
$('nav li.dropdown.main > ul.dropdown-menu [data-toggle=dropdown]').on('click', function(event) {
|
81
82
|
event.preventDefault();
|
82
83
|
event.stopPropagation();
|
83
84
|
$(this).parent().addClass('open');
|
84
|
-
|
85
85
|
var menu = $(this).parent().find("ul");
|
86
86
|
var menupos = menu.offset();
|
87
|
-
|
88
87
|
if ((menupos.left + menu.width()) + 30 > $(window).width()) {
|
89
88
|
var newpos = - menu.width();
|
90
89
|
} else {
|
@@ -94,8 +93,7 @@ $(document).ready(function () {
|
|
94
93
|
});
|
95
94
|
// Remove any zoom class added to body
|
96
95
|
$('body').css('zoom', '');
|
97
|
-
|
98
|
-
// External Links Opening in new window.
|
96
|
+
// Open External links in a new tab
|
99
97
|
$('a').each(function() {
|
100
98
|
var a = new RegExp('/' + window.location.host + '/');
|
101
99
|
if (!a.test(this.href)) {
|
@@ -113,13 +111,11 @@ $(document).ready(function () {
|
|
113
111
|
$('.nav-tabs a').on('shown', function (e) {
|
114
112
|
window.location.hash = e.target.hash.replace("#", "#" + prefix);
|
115
113
|
});
|
114
|
+
// Carousel image header - Lazy loading the carousel images
|
116
115
|
var cHeight = 0;
|
117
|
-
|
118
116
|
$('#header-carousel').on('slide.bs.carousel', function (e) {
|
119
117
|
var $nextImage = null;
|
120
|
-
|
121
118
|
$activeItem = $('.item.active', this);
|
122
|
-
|
123
119
|
if (e.direction == 'left'){
|
124
120
|
$nextImage = $activeItem.next('.item');
|
125
121
|
} else {
|
@@ -129,19 +125,16 @@ $(document).ready(function () {
|
|
129
125
|
$nextImage = $activeItem.prev('.item');
|
130
126
|
}
|
131
127
|
}
|
132
|
-
|
133
128
|
// prevents the slide decrease in height
|
134
129
|
if (cHeight == 0) {
|
135
130
|
cHeight = $(this).height();
|
136
131
|
$activeItem.next('.item').height(cHeight);
|
137
132
|
}
|
138
|
-
|
139
133
|
// prevents the loaded image if it is already loaded
|
140
134
|
var src = $nextImage.attr('data-src');
|
141
|
-
|
142
135
|
if (typeof src !== "undefined" && src != "") {
|
143
|
-
|
144
|
-
|
136
|
+
$nextImage.css('background-image', 'url(' + src + ')');
|
137
|
+
$nextImage.data('data-src', '');
|
145
138
|
}
|
146
139
|
});
|
147
140
|
// Cookie Consent Setup
|
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: 3.6.
|
4
|
+
version: 3.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Kirkby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -407,7 +407,6 @@ files:
|
|
407
407
|
- _layouts/jumbotron-container.html
|
408
408
|
- _layouts/jumbotron.html
|
409
409
|
- _layouts/post-index.html
|
410
|
-
- _layouts/post-old.html
|
411
410
|
- _layouts/post.html
|
412
411
|
- _layouts/redirect.html
|
413
412
|
- _sass/_bootstrap-compass.scss
|
data/_layouts/post-old.html
DELETED
@@ -1,70 +0,0 @@
|
|
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
|
-
|