jumbo-jekyll-theme 1.4.2.16 → 1.4.2.17

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: cf00108b96104af50a432fb16b6b0a181416a7f2
4
- data.tar.gz: c413c1fd98d488b008dcc479d83c0557b444d818
3
+ metadata.gz: b0c444c7291ace7deddba6c71981a42d9b14e86f
4
+ data.tar.gz: cad627c78c0632753395b03c29be6d2eafd8134a
5
5
  SHA512:
6
- metadata.gz: 4c3a0c307258d5be94f48831d35a1b286cc1b95d6efb15fb876fceb110b2f625229981826c6746a0cd2d5bcc1d500a506322367d9ac65a31fbcb81f025cf62e6
7
- data.tar.gz: 4c72081697584e8f6385bb9d3d8e0390dda0e900261e3e814c17990b08a83bb6c955290b8b4bdc67dfadf7cb0db08c3abdfffe9ad077c298f373c4e338b0069e
6
+ metadata.gz: 4cebb2bc49c8385b93d0f4879d8d365f850231ae0c71dab1f7bbfd2354093ca1939e85f520f29d9fcf4d670c81cd09a63859bb5d54e6b7caa0d322ed33a3ca9f
7
+ data.tar.gz: c5131597d77b757b1cace63afbf2faf2dd667d5e20e42c58c1b0a115a1246ba9ec83eccd996053a18a87c22bbbe586188ca4f08ecb2d3d8bb235df9ed54a47a6
data/_data/settings.yml CHANGED
@@ -15,11 +15,12 @@ linaro-footer-image: Linaro-Sprinkle.png
15
15
  # Settings for the home page
16
16
  home:
17
17
  # If this is set then the navigation will be transparent.
18
- transparent_nav: true
18
+ transparent-nav: true
19
19
  # If this is set to true then the shape divider will be displayed
20
20
  shaped-divider: true
21
21
  # Jumbotron settings for the home page
22
22
  jumbotron:
23
+ # Include file to replace all the contents of the jumbotron with.
23
24
  included_file: hero-banner.html
24
25
  # Toggle the jumbotron
25
26
  enabled: true
@@ -77,6 +78,8 @@ blog:
77
78
  comments: true
78
79
  # Post Side Bar Settings
79
80
  sidebar:
81
+ display-on-posts: true
82
+ display-on-index: true
80
83
  # Toggle whether or not thumbnails in the sidebar are displayed.
81
84
  thumbnails:
82
85
  display: true
data/_includes/nav.html CHANGED
@@ -1,7 +1,7 @@
1
1
  <nav class="
2
2
  {% if site.data.settings.home.jumbotron.enabled %}
3
3
  {% if layout.nav-light %}
4
- {% if site.data.settings.home.transparent_nav %}
4
+ {% if site.data.settings.home.transparent-nav %}
5
5
  nav-light
6
6
  {% endif %}
7
7
  {% elsif layout.nav-dark %}
data/_layouts/post.html CHANGED
@@ -27,7 +27,7 @@ css-package: blog
27
27
  {% endif %}> <!--Fluid Container -->
28
28
  {% if assets[page.image.name] %}
29
29
  <div class="row"> <!--Row -->
30
- <div id="featured-jumbotron" class="blog-full-page-image-info"> <!--Jumbotron div -->
30
+ <div id="featured-jumbotron" class="blog blog-full-page-image-info"> <!--Jumbotron div -->
31
31
  <h1 class="text-center" id="featured-image-blog-title">{{page.title}}</h1>
32
32
  {% if page.author %}
33
33
  {% assign author = site.authors | where: "username", page.author | first %}
@@ -88,67 +88,69 @@ css-package: blog
88
88
  <div class="container-fluid" id="content-container">
89
89
  <div class="row">
90
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 %}
91
+ {% if site.data.settings.blog.sidebar.display-on-posts %}
92
+ <div class="col-md-9">
93
+ <article class="post-content">
94
+ {% unless page.image.featured %}
95
+ <div class="post-info">
96
+ <h1>{{page.title }}</h1>
133
97
 
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}}" />
98
+ {% if page.date %}<small class="blog-date text-center"><em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em></small>{% endif %}
99
+ {% if page.categories %}in <a href="/categories/#{{page.categories[0]}}">{{page.categories[0] | capitalize}}</a>{% endif %}
100
+ {% if page.author %}
101
+ {% assign author = site.authors | where: 'username' , page.author %}
102
+ {% assign author = author[0] %}
103
+ <em> By
104
+ {% if author %}
105
+ <a href="{{author.url}}">
106
+ <strong>
107
+ {{author.name}}
108
+ </strong>
139
109
  </a>
110
+ {% else %}
111
+ <strong>
112
+ {{page.author}}
113
+ </strong>
114
+ {% endif %}
115
+
116
+ </em>
117
+ {% endif %}
118
+ </div>
119
+ {% endunless %}
120
+ {{ content }}
121
+ </article>
122
+
123
+
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>
140
145
  </div>
141
146
  </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>
147
+ {% endfor %}
148
+ </div>
149
+
150
+ <hr/>
151
+ {% endif %}
149
152
 
150
- <hr/>
151
- {% endif %}
153
+
152
154
 
153
155
  {% comment %}
154
156
  TAGS - Check to see if the tags_enabled setting in settings.yml data file is toggled.
@@ -161,6 +163,43 @@ css-package: blog
161
163
  {% endcomment %}
162
164
 
163
165
  {% include post-comments.html %}
166
+ </div>
167
+ <div class="col-md-3">
168
+ {% include post-sidebar.html %}
169
+ </div>
170
+ {% else %}
171
+ <div class="col-xs-12 no-padding">
172
+ <article class="post-content">
173
+ {% unless page.image.featured %}
174
+ <div class="post-info">
175
+ <h1>{{page.title }}</h1>
176
+
177
+ {% if page.date %}<small class="blog-date text-center"><em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em></small>{% endif %}
178
+ {% if page.categories %}in <a href="/categories/#{{page.categories[0]}}">{{page.categories[0] | capitalize}}</a>{% endif %}
179
+ {% if page.author %}
180
+ {% assign author = site.authors | where: 'username' , page.author %}
181
+ {% assign author = author[0] %}
182
+ <em> By
183
+ {% if author %}
184
+ <a href="{{author.url}}">
185
+ <strong>
186
+ {{author.name}}
187
+ </strong>
188
+ </a>
189
+ {% else %}
190
+ <strong>
191
+ {{page.author}}
192
+ </strong>
193
+ {% endif %}
194
+
195
+ </em>
196
+ {% endif %}
197
+ </div>
198
+ {% endunless %}
199
+ {{ content }}
200
+ </article>
201
+ </div>
202
+ {% endif %}
164
203
 
165
204
 
166
205
  </div>
@@ -20,5 +20,10 @@ $navbar-height: 66px;
20
20
  $navbar-inverse-bg: #000;
21
21
  $navbar-inverse-color: #fff;
22
22
 
23
+ // Breadcrumb
24
+ $breadcrumb-background-color: #000 !default;
25
+ $breadcrumb-title-color: #fff !default;
26
+ $breadcrumb-span-color: #fff !default;
27
+
23
28
  // Fonts
24
29
  $font-family-sans-serif: Arial, sans-serif !default;
@@ -52,6 +52,10 @@ $breadcrumb-background-color: $brand-primary !default;
52
52
  $breadcrumb-title-color: #fff !default;
53
53
  $breadcrumb-span-color: #fff !default;
54
54
 
55
+
56
+ // Featured Image Jumbotron
57
+ $featured-image-text-color: #fff !default;
58
+
55
59
  // Nav Bar Overrides
56
60
  $navbar-text-color: #ffffff !default;
57
61
 
data/_sass/core/blog.scss CHANGED
@@ -67,17 +67,16 @@ img.img-thumbnail {
67
67
  position: relative;
68
68
  }
69
69
  .blog-full-page-image-info{
70
- color: #FFF;
71
- height: 500px;
70
+ color: $featured-image-text-color;
72
71
  margin-left: auto;
72
+ margin-bottom: 82px;
73
73
  margin-right: auto;
74
74
  z-index: 1;
75
+ height: 300px;
75
76
  text-align: center;
76
- margin-top: -21px;
77
- line-height:50px;
77
+ line-height: 50px;
78
78
  position: relative;
79
- top: 10vh;
80
- vertical-align:middle;
79
+ vertical-align: middle;
81
80
  }
82
81
  .blog-title {
83
82
  width: 50%;
@@ -243,7 +242,9 @@ div.tag_cloud {
243
242
  margin-bottom: 20px;
244
243
  margin-top: 20px;
245
244
  }
246
-
245
+ div#featured-jumbotron.blog {
246
+ margin-top: 0;
247
+ }
247
248
  div.previous_post{
248
249
  display:none;
249
250
  }
@@ -6,6 +6,7 @@
6
6
  /* Home Page Jumbotron Div */
7
7
  div#featured-jumbotron {
8
8
  text-align: center;
9
+ margin-top: $navbar-height + 20;
9
10
  }
10
11
 
11
12
  #jumbotron-image:before {
Binary file
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.16
4
+ version: 1.4.2.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
@@ -459,8 +459,10 @@ files:
459
459
  - assets/images/avatar-placeholder.png
460
460
  - assets/images/background-image.jpg
461
461
  - assets/images/banner.jpg
462
+ - assets/images/bof-devicetree.jpg
462
463
  - assets/images/close.png
463
464
  - assets/images/css3.png
465
+ - assets/images/device-tree-vertical-logo.png
464
466
  - assets/images/favicon.ico
465
467
  - assets/images/favicon.png
466
468
  - assets/images/html5.png