jumbo-jekyll-theme 1.4.2.14 → 1.4.2.15

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
  SHA1:
3
- metadata.gz: 795073cbb816863e0c012dcdb5f05cb23201648e
4
- data.tar.gz: 144d55fc1140248aed90117cfd8105f22c48f2b0
3
+ metadata.gz: 7cba3229694cbcba456d8b235d48b1489dfc3acc
4
+ data.tar.gz: 5cf872ae4cfe48872a266cc4dfadf72ffce7696f
5
5
  SHA512:
6
- metadata.gz: c0d27be415e13534bc859f8b63e77c6d6782effc25ddab2928325b3cc76966fa41ad0837ded6139dc92dc5ae3f41bb01651fcd7e4102c235f5d5cc086e52d3e6
7
- data.tar.gz: e8e8a8d1f6a62912cfa07c9ea4f108fda1ec4fca55ec0d8d37c0ee245fd0a68855e159ff3cbb23f6981fa875345fa52d74a5920220692083315a2162a01f12d4
6
+ metadata.gz: 635b0fb9674e82f27a61f1d0a4d3c577b48a4e49adf312c7ebd5b3bc7b4f3147b2b59a95fa190e18a346acee6a9b169c5c7227f06cfffc6c5fbeccbdc9e68810
7
+ data.tar.gz: fbd296690795a0f58e3f82b118fd7c21fdb2cfa53ed057cef8b651a64658e4ea323f7fb0a6d253c0ed0757e3364320daca1123b78d5f55aafb71f7a5db2f65e8
data/_data/settings.yml CHANGED
@@ -71,6 +71,8 @@ slideshare_username: linaroorg
71
71
 
72
72
  # Blog setup
73
73
  blog:
74
+ # Show Thumbnails in the post index
75
+ show_thumbnails: true
74
76
  # Toggle site wide comments display.
75
77
  comments: true
76
78
  # Post Side Bar Settings
@@ -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
@@ -1,9 +1,8 @@
1
1
  ---
2
+ layout: default
2
3
  js-package: blog
3
4
  css-package: blog
4
- layout: container
5
5
  ---
6
-
7
6
  {% if page.previous.url %}
8
7
  <a href="{{page.previous.url}}" class="previous_post_anchor">
9
8
  <div class="previous_post"></div>
@@ -14,58 +13,156 @@ layout: container
14
13
  <div class="next_post"></div>
15
14
  </a>
16
15
  {% endif %}
17
-
18
- <div class="col-md-9">
19
- <article class="post-content">
20
- <div class="post-info">
21
- <h1>{{page.title }}</h1>
22
-
23
- {% if page.date %}<small class="blog-date text-center"><em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em></small>{% endif %}
24
- {% if page.categories %}in <a href="/categories/#{{page.categories[0]}}">{{page.categories[0] | capitalize}}</a>{% endif %}
25
- {% if page.author %}
26
- {% assign author = site.authors | where: 'username' , page.author %}
27
- {% assign author = author[0] %}
28
- <em> By
29
- {% if author %}
16
+ {% if page.image.featured %}
17
+ <div class="container-fluid" {% if page.image.featured %}
18
+ style="background: #000 url({% asset_path '{{page.image.name}}' %}) no-repeat center center fixed;
19
+ background-size: cover;
20
+ -webkit-background-size: cover;
21
+ -moz-background-size: cover;
22
+ -o-background-size: cover;
23
+ background-position-y: 0px"
24
+ class="jumbotron text-center featured-jumbotron homepage-image-jumbotron"
25
+ {% else %}
26
+ class="jumbotron text-center featured-jumbotron"
27
+ {% endif %}> <!--Fluid Container -->
28
+ {% if assets[page.image.name] %}
29
+ <div class="row"> <!--Row -->
30
+ <div id="featured-jumbotron" class="blog-full-page-image-info"> <!--Jumbotron div -->
31
+ <h1 class="text-center" id="featured-image-blog-title">{{page.title}}</h1>
32
+ {% if page.author %}
33
+ {% assign author = site.authors | where: "username", page.author | first %}
30
34
  <a href="{{author.url}}">
31
- <strong>
32
- {{author.name}}
33
- </strong>
35
+ <img class="blog-author-image" style="
36
+ background-image:url({% if author.image.name %}
37
+ {% asset_path '{{author.image.name}}' %}
38
+ {% else %}
39
+ {% asset_path 'avatar-placeholder.png' %}
40
+ {% endif %})" />
34
41
  </a>
35
- {% else %}
36
- <strong>
37
- {{page.author}}
38
- </strong>
39
- {% endif %}
40
42
 
41
- </em>
42
- {% endif %}
43
+ {% if page.co-author %}
44
+ {% assign co-author = site.authors | where: "username", page.co-author | first %}
45
+ <a href="{{co-author.url}}">
46
+ <img class="blog-author-image" style="
47
+ background-image:url({% if co-author.image.name %}
48
+ {% asset_path '{{co-author.image.name}}' %}
49
+ {% else %}
50
+ {% asset_path 'avatar-placeholder.png' %}
51
+ {% endif %})" />
52
+ </a>
53
+ <br />
54
+ <small class="blog-author text-center">
55
+ By
56
+ <a href="{{author.url}}">
57
+ <em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
58
+ </a>
59
+ and
60
+ <a href="{{co-author.url}}">
61
+ <em>{% if co-author.name %}{{co-author.name}}{% else %}{{page.co-author}}{% endif %}</em>
62
+ </a>
63
+ </small>
64
+ <br />
65
+ {% else %}
66
+ <br />
67
+ <small class="blog-author text-center">
68
+ By
69
+ <a href="{{author.url}}">
70
+ <em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
71
+ </a>
72
+ </small>
73
+ <br />
74
+ {% endif %}
75
+ {% endif %}
76
+ {% if page.date %}<small class="blog-date text-center"><em>{{page.date | date: "%A, %B %-d, %Y"}}</em></small>{% endif %}
77
+ </div>
43
78
  </div>
44
- {{ content }}
45
- </article>
46
-
47
- <hr />
48
-
49
- {% comment %}
50
- TAGS - Check to see if the tags_enabled setting in settings.yml data file is toggled.
51
- {% endcomment %}
52
-
53
- {% include post-tags.html %}
54
-
55
- {% comment %}
56
- COMMENTS - Check to see if comments are toggled for this particular post.
57
- {% endcomment %}
58
-
59
- {% include post-comments.html %}
60
-
61
-
62
- </div>
63
-
64
- {% comment %}
65
- Display a right side bar.
66
- {% endcomment %}
79
+
80
+ {% if page.shape-divider %}
81
+ {% include shape-divider.html %}
82
+ {% endif %}
83
+
84
+ </div>
85
+ {% endif %}
86
+ {% endif %}
67
87
 
68
- <div class="col-md-3">
69
- {% include post-sidebar.html %}
88
+ <div class="container-fluid" id="content-container">
89
+ <div class="row">
90
+ <div class="container">
91
+ <div class="col-xs-12 no-padding">
92
+
93
+ </div>
94
+ <article class="post-content">
95
+ {% unless page.image.featured %}
96
+ <div class="post-info">
97
+ <h1>{{page.title }}</h1>
98
+
99
+ {% if page.date %}<small class="blog-date text-center"><em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em></small>{% endif %}
100
+ {% if page.categories %}in <a href="/categories/#{{page.categories[0]}}">{{page.categories[0] | capitalize}}</a>{% endif %}
101
+ {% if page.author %}
102
+ {% assign author = site.authors | where: 'username' , page.author %}
103
+ {% assign author = author[0] %}
104
+ <em> By
105
+ {% if author %}
106
+ <a href="{{author.url}}">
107
+ <strong>
108
+ {{author.name}}
109
+ </strong>
110
+ </a>
111
+ {% else %}
112
+ <strong>
113
+ {{page.author}}
114
+ </strong>
115
+ {% endif %}
116
+
117
+ </em>
118
+ {% endif %}
119
+ </div>
120
+ {% endunless %}
121
+ {{ content }}
122
+ </article>
123
+ <hr />
124
+ {% if page.featured-products %}
125
+ <h3>Featured Products</h3>
126
+ <hr />
127
+ <div class="row feautured-products-blog-row">
128
+ {% for each in page.featured-products %}
129
+
130
+ {% capture product-perma %}/product/{{each}}/{% endcapture %}
131
+
132
+ {% assign product = site.data.product_db.products | where: "product_permalink", product-perma | first %}
133
+
134
+ <div class="col-sm-6">
135
+ <div class="col-xs-3">
136
+ <div class="featured-product-blog-img">
137
+ <a href="{{product.product_permalink}}">
138
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="../../product/{{product.product_specification}}/{{each}}/images/{{product.product_images[0]}}" class="lazyload img-responsive" alt="{{product.product_title}}" />
139
+ </a>
140
+ </div>
141
+ </div>
142
+ <div class="col-xs-9">
143
+ <span class="featured-product-blog-title">{{product.product_title}}</h4>
144
+ <a class="btn btn-blog btn-xs btn-featured-product" href="{{product.product_permalink}}">View Product</a>
145
+ </div>
146
+ </div>
147
+ {% endfor %}
148
+ </div>
149
+
150
+ <hr/>
151
+ {% endif %}
152
+
153
+ {% comment %}
154
+ TAGS - Check to see if the tags_enabled setting in settings.yml data file is toggled.
155
+ {% endcomment %}
156
+
157
+ {% include post-tags.html %}
158
+
159
+ {% comment %}
160
+ COMMENTS - Check to see if comments are toggled for this particular post.
161
+ {% endcomment %}
162
+
163
+ {% include post-comments.html %}
164
+
165
+
166
+ </div>
167
+ </div>
70
168
  </div>
71
-
@@ -46,9 +46,13 @@ module Jekyll
46
46
 
47
47
  FileUtils.mkdir_p(File.dirname(dest_path))
48
48
  image = ::MiniMagick::Image.open(path)
49
- @commands.each_pair do |command, arg|
50
- image.send command, arg
49
+
50
+ image.combine_options do |c|
51
+ @commands.each_pair do |command, arg|
52
+ c.send command, arg
53
+ end
51
54
  end
55
+
52
56
  image.write dest_path
53
57
 
54
58
  true
@@ -66,10 +70,12 @@ module Jekyll
66
70
  return unless site.config['mini_magick']
67
71
 
68
72
  site.config['mini_magick'].each_pair do |name, preset|
69
- Dir.glob(File.join(site.source, preset['source'], "*.{png,jpg,jpeg,gif}")) do |source|
70
- site.static_files << GeneratedImageFile.new(site, site.source, preset['destination'], File.basename(source), preset.clone)
71
- end
73
+ Dir.chdir preset['source'] do
74
+ Dir.glob(File.join("**", "*.{png,jpg,jpeg,gif}")) do |source|
75
+ site.static_files << GeneratedImageFile.new(site, site.source, preset['destination'], source, preset.clone)
76
+ end
72
77
  end
78
+ end
73
79
  end
74
80
  end
75
81
 
data/_sass/app/blog.scss CHANGED
@@ -23,7 +23,7 @@ p.talk-abstract {
23
23
  }
24
24
 
25
25
  h1#featured-image-blog-title {
26
- color: white !important;
26
+ color: white;
27
27
  margin-bottom: 50px;
28
28
  padding-top: 40px;
29
29
  }
data/_sass/core/blog.scss CHANGED
@@ -14,6 +14,11 @@ article.post-content {
14
14
  overflow: auto;
15
15
  }
16
16
 
17
+ /* Blog Side Bar Panel Title */
18
+ #wrapper h3.panel-title {
19
+ color: $navbar-text-color;
20
+ }
21
+
17
22
  /* Post Info - post.html layout */
18
23
  .post-info {
19
24
  margin-bottom: 20px;
@@ -37,8 +42,6 @@ a:hover > img.blog-author-image {
37
42
  #wrapper small.blog-author.text-center > a:hover > em {
38
43
  color:#a681b8;
39
44
  }
40
-
41
-
42
45
  /* Blog Post Images - Responsive by default */
43
46
  article.post-content img {
44
47
  width: 100%;
@@ -182,7 +185,7 @@ a.featured_blog_post_text:hover{
182
185
 
183
186
  .featured_blog_post {
184
187
  height: auto;
185
- margin: 5px;
188
+ margin: -1px;
186
189
  border-bottom: 1px solid $gray-lighter;
187
190
  padding: 12px;
188
191
  }
@@ -251,17 +254,19 @@ a.previous_post_anchor {
251
254
  position: fixed;
252
255
  top: 50%;
253
256
  right:0;
257
+ z-index: 99999;
254
258
  }
255
259
  a.next_post_anchor {
256
260
  position: fixed;
257
261
  top: 50%;
258
262
  left:0;
263
+ z-index: 99999;
259
264
  }
260
265
 
261
266
  //Small Inline Blog Images
262
- img.small-inline {
263
- width: 100px !important;
264
- height: auto !important;
267
+ #wrapper img.small-inline {
268
+ width: 100px;
269
+ height: auto;
265
270
  display: inline-block;
266
271
  float: left;
267
272
  margin-right: 30px;
@@ -339,9 +344,6 @@ img.large-inline.right {
339
344
  height: 100px;
340
345
  width: 100px;
341
346
  }
342
- .blog_post{
343
- padding:20px;
344
- }
345
347
  em.post_date {
346
348
  font-size: 13px;
347
349
  }
@@ -5,7 +5,6 @@
5
5
 
6
6
  /* Home Page Jumbotron Div */
7
7
  div#featured-jumbotron {
8
- margin-top: $navbar-height + 10;
9
8
  text-align: center;
10
9
  }
11
10
 
@@ -508,10 +508,30 @@ blockquote:before {
508
508
  }
509
509
 
510
510
  #content-container h1, #content-container h2, #content-container h3, #content-container h4, #content-container h5 {
511
- color: #393836 !important;
511
+ color: #393836;
512
512
  }
513
513
 
514
- ul {
515
- font-size: 16px;
514
+ /* Bootstrap Panels*/
515
+ #wrapper .panel-body {
516
+ padding: 0;
517
+ border-radius: 0;
518
+ }
519
+
520
+ #wrapper .panel.panel-primary {
521
+ padding: 0;
522
+ border-radius: 0px;
516
523
  }
517
524
 
525
+ #wrapper .panel-heading {
526
+ border-radius: 0px;
527
+ border: 1px solid $brand-primary;
528
+ }
529
+
530
+ #wrapper h3.panel-title {
531
+ font-weight: normal;
532
+ color: $navbar-text-color;
533
+ }
534
+
535
+ ul {
536
+ font-size: 16px;
537
+ }
@@ -19,7 +19,6 @@ $(document).ready(function(){
19
19
  if ( $(window).scrollTop() > origOffsetY) {
20
20
  $('#tabbed-nav-bar').removeClass('non-sticky-nav');
21
21
  $('#tabbed-nav-bar').addClass('sticky-nav');
22
-
23
22
  $("nav#main-navigation").hide();
24
23
  $('#wrapper').css('margin-top','70px');
25
24
  if ($(window).width() < 1000) {
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: 1.4.2.14
4
+ version: 1.4.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
@@ -320,9 +320,9 @@ files:
320
320
  - _layouts/full-width.html
321
321
  - _layouts/home.html
322
322
  - _layouts/post-featured-image-no-sidebar.html
323
- - _layouts/post-featured-image.html
324
323
  - _layouts/post-index.html
325
324
  - _layouts/post-no-sidebar.html
325
+ - _layouts/post-old.html
326
326
  - _layouts/post.html
327
327
  - _plugins/jekyll-minimagick.rb
328
328
  - _plugins/jekyll-minimagick/version.rb
@@ -1,130 +0,0 @@
1
- ---
2
- layout: default
3
- js-package: blog
4
- css-package: blog
5
- ---
6
- <div class="container-fluid" {% if page.image.featured %}
7
- style="background: #000 url({% asset_path '{{page.image.name}}' %}) no-repeat center center fixed;
8
- background-size: cover;
9
- -webkit-background-size: cover;
10
- -moz-background-size: cover;
11
- -o-background-size: cover;
12
- background-position-y: 0px"
13
- class="jumbotron text-center featured-jumbotron homepage-image-jumbotron"
14
- {% else %}
15
- class="jumbotron text-center featured-jumbotron"
16
- {% endif %}> <!--Fluid Container -->
17
- {% if assets[page.image.name] %}
18
- <div class="row"> <!--Row -->
19
- <div id="featured-jumbotron" class="blog-full-page-image-info"> <!--Jumbotron div -->
20
- <h1 class="text-center" id="featured-image-blog-title">{{page.title}}</h1>
21
- {% if page.author %}
22
- {% assign author = site.authors | where: "username", page.author | first %}
23
- <a href="{{author.url}}">
24
- <img class="blog-author-image" style="
25
- background-image:url({% if author.image.name %}
26
- {% asset_path '{{author.image.name}}' %}
27
- {% else %}
28
- {% asset_path 'avatar-placeholder.png' %}
29
- {% endif %})" />
30
- </a>
31
-
32
- {% if page.co-author %}
33
- {% assign co-author = site.authors | where: "username", page.co-author | first %}
34
- <a href="{{co-author.url}}">
35
- <img class="blog-author-image" style="
36
- background-image:url({% if co-author.image.name %}
37
- {% asset_path '{{co-author.image.name}}' %}
38
- {% else %}
39
- {% asset_path 'avatar-placeholder.png' %}
40
- {% endif %})" />
41
- </a>
42
- <br />
43
- <small class="blog-author text-center">
44
- By
45
- <a href="{{author.url}}">
46
- <em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
47
- </a>
48
- and
49
- <a href="{{co-author.url}}">
50
- <em>{% if co-author.name %}{{co-author.name}}{% else %}{{page.co-author}}{% endif %}</em>
51
- </a>
52
- </small>
53
- <br />
54
- {% else %}
55
- <br />
56
- <small class="blog-author text-center">
57
- By
58
- <a href="{{author.url}}">
59
- <em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
60
- </a>
61
- </small>
62
- <br />
63
- {% endif %}
64
-
65
-
66
-
67
- {% endif %}
68
- {% if page.date %}<small class="blog-date text-center"><em>{{page.date | date: "%A, %B %-d, %Y"}}</em></small>{% endif %}
69
- </div>
70
- </div>
71
-
72
- {% if page.shape-divider %}
73
- {% include shape-divider.html %}
74
- {% endif %}
75
-
76
- </div>
77
- {% endif %}
78
-
79
- <div class="container-fluid" id="content-container">
80
- <div class="row">
81
- <div class="container">
82
- <article class="post-content">
83
- {{ content }}
84
- </article>
85
- <hr />
86
- {% if page.featured-products %}
87
- <h3>Featured Products</h3>
88
- <hr />
89
- <div class="row feautured-products-blog-row">
90
- {% for each in page.featured-products %}
91
-
92
- {% capture product-perma %}/product/{{each}}/{% endcapture %}
93
-
94
- {% assign product = site.data.product_db.products | where: "product_permalink", product-perma | first %}
95
-
96
- <div class="col-sm-6">
97
- <div class="col-xs-3">
98
- <div class="featured-product-blog-img">
99
- <a href="{{product.product_permalink}}">
100
- <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="../../product/{{product.product_specification}}/{{each}}/images/{{product.product_images[0]}}" class="lazyload img-responsive" alt="{{product.product_title}}" />
101
- </a>
102
- </div>
103
- </div>
104
- <div class="col-xs-9">
105
- <span class="featured-product-blog-title">{{product.product_title}}</h4>
106
- <a class="btn btn-blog btn-xs btn-featured-product" href="{{product.product_permalink}}">View Product</a>
107
- </div>
108
- </div>
109
- {% endfor %}
110
- </div>
111
-
112
- <hr/>
113
- {% endif %}
114
-
115
- {% comment %}
116
- TAGS - Check to see if the tags_enabled setting in settings.yml data file is toggled.
117
- {% endcomment %}
118
-
119
- {% include post-tags.html %}
120
-
121
- {% comment %}
122
- COMMENTS - Check to see if comments are toggled for this particular post.
123
- {% endcomment %}
124
-
125
- {% include post-comments.html %}
126
-
127
-
128
- </div>
129
- </div>
130
- </div>