jumbo-jekyll-theme 3.0.32 → 3.0.33

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
  SHA256:
3
- metadata.gz: be7f551808b25bb4542cc485bbe1e8cf3d36056f3924afb4a51b438381cace2e
4
- data.tar.gz: 6c960711144aa8ee10ef68fb062449cc2732a52eb53d7dff49f33d8688611f5e
3
+ metadata.gz: d1fb946a868e04714a35ceb9b524fe92c416e33be70db9f5a61a65ec857eed64
4
+ data.tar.gz: cbd410191006559dcb02877aec7dea21865e164fdbe73966bcb3101b592fcb62
5
5
  SHA512:
6
- metadata.gz: 4912717bd45cbded48b491e5dcc280e51bf0fd2fdb3143d6727c065c0bf1f165603472104c23cf0b2a8671c2a9c1c66ff60f0492114f15ee512faa53c7b65c24
7
- data.tar.gz: 582d3d7f4383369d4f1e5ad037e84a6013399aaadd62f6141dbfc93a9d22a8a36c7a053169c262cf9803e519b9f9db284490df4474f94d8284f8dd767a8fd173
6
+ metadata.gz: ea8976247f37fc792097f451544a00267da078dfa135d9ec1a1be59a7de53edd941833bc6bd5ad975952db94ffef9a2867e7f3264584be8e636db211e1a919aa
7
+ data.tar.gz: e783fdd078bd1e7e2fbf25e844dc33250ad545eb5d1622cfaf8029b9ab69dab431a7b99d30d635d90c2b42255c7ee4a7934b57179d9b337ef453c8bc71ab9cfa
data/_data/settings.yml CHANGED
@@ -16,10 +16,13 @@ error-pages:
16
16
  svg: linaro-404.html
17
17
  not-found-title: 404 page not found!
18
18
  not-found-desc: Sorry, but the page you were looking for could not be found.
19
+
19
20
  # Blog setup
20
21
  blog:
21
22
  # Show Thumbnails in the post index
22
23
  show_thumbnails: true
24
+ # Reading time
25
+ reading_time: true
23
26
  # Toggle site wide comments display.
24
27
  comments: true
25
28
  # Post Side Bar Settings
@@ -6,7 +6,15 @@
6
6
  {% endif %}> <!--Row -->
7
7
  {% if page.jumbotron.video %}
8
8
  <video autoplay muted preload="none" poster="{{page.jumbotron.video.poster}}" loop id="jumbotronVideo">
9
- <source src="{{page.jumbotron.video.source}}" type="video/mp4">
9
+ {% if page.jumbotron.video.source.mp4 %}
10
+ <source src="{{page.jumbotron.video.source.mp4}}" type="video/mp4">
11
+ {% endif %}
12
+ {% if page.jumbotron.video.source.ogg %}
13
+ <source src="{{page.jumbotron.video.source.ogg}}" type="video/ogg">
14
+ {% endif %}
15
+ {% if page.jumbotron.video.source.webm %}
16
+ <source src="{{page.jumbotron.video.source.webm}}" type="video/webm">
17
+ {% endif %}
10
18
  </video>
11
19
  {% endif %}
12
20
  <div id="jumbotron-content" class=" flex-container"> <!--Jumbotron div -->
@@ -0,0 +1,2 @@
1
+ {% assign words = content | number_of_words %}
2
+ <span class="reading-time" title="Estimated read time">{% if words < 360 %}1 min{% else %}{{ words | divided_by:180 }} mins{% endif %}</span>
data/_layouts/post.html CHANGED
@@ -5,8 +5,9 @@ css-package: blog
5
5
  ---
6
6
  {% if page.image.featured %}
7
7
  <div class="row overlay background-image" id="jumbotron" style="background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('{{page.image.path}}');"> <!--Row -->
8
- <div id="featured-jumbotron" class="blog blog-full-page-image-info"> <!--Jumbotron div -->
9
- <h1 class="text-center" id="featured-image-blog-title">{{page.title}}</h1>
8
+ <div id="jumbotron-content" class="flex-container"> <!--Jumbotron div -->
9
+ <div class="container flex-center" id="jumbotron-text"> <!--Container -->
10
+ <h1 id="jumbotron-heading">{{page.title}}</h1>
10
11
  {% if page.author %}
11
12
  {% assign author = site.authors | where: "username", page.author | first %}
12
13
  {% assign author-url = author.url %}
@@ -32,29 +33,29 @@ css-package: blog
32
33
  /assets/images/avatar-placeholder.png
33
34
  {% endif %})" />
34
35
  </a>
35
- <br />
36
36
  <small class="blog-author text-center">
37
37
  By
38
38
  <em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
39
39
  and
40
40
  <em>{% if co-author.name %}{{co-author.name}}{% else %}{{page.co-author}}{% endif %}</em>
41
41
  </small>
42
- <br />
43
42
  {% else %}
44
- <br />
45
43
  <small class="blog-author text-center">
46
44
  By
47
45
  <em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
48
46
  </small>
49
- <br />
50
47
  {% endif %}
51
48
  {% if page.date %}
52
49
  <small class="blog-date text-center">
53
50
  <em>{{page.date | date: "%A, %B %-d, %Y"}}</em>
54
51
  </small>
55
52
  {% endif %}
53
+ {% if site.data.settings.blog.reading_time %}
54
+ {% include read_time.html %}
55
+ {% endif %}
56
56
  </div>
57
57
  </div>
58
+ </div>
58
59
  {% endif %}
59
60
  <div class="row" id="content-container">
60
61
  <div class="container">
data/_sass/core/blog.scss CHANGED
@@ -85,7 +85,7 @@ img.img-thumbnail {
85
85
  .blog-featured-img-container{
86
86
  position: relative;
87
87
  }
88
- .blog-full-page-image-info{
88
+ #jumbotron-content{
89
89
  color: $featured-image-text-color;
90
90
  margin-left: auto;
91
91
  margin-bottom: 82px;
@@ -309,7 +309,9 @@ img.large-inline.right {
309
309
 
310
310
  // Previous and Next Post Style
311
311
  @media(min-width:$screen-sm-min){
312
-
312
+ #jumbotron small {
313
+ font-size:15px;
314
+ }
313
315
 
314
316
  article{
315
317
  padding-right: 20px;
@@ -334,10 +336,6 @@ img.large-inline.right {
334
336
  }
335
337
  //Responsive CSS for Blog
336
338
  @media(max-width:$screen-sm-min){
337
- .blog-full-page-image-info {
338
- height: 360px;
339
- }
340
-
341
339
  .blog-title{
342
340
  width:95%;
343
341
  font-size: 34px;
@@ -423,9 +421,18 @@ img.large-inline.right {
423
421
  .featured_blog_post small em {
424
422
  color:black;
425
423
  }
426
- #featured-jumbotron a:hover{
424
+ #jumbotron a:hover{
427
425
  text-decoration: none;
428
426
  }
429
- #featured-jumbotron a:hover img{
427
+ #jumbotron a:hover img{
430
428
  border-color:$brand-primary;
429
+ }
430
+ span.reading-time {
431
+ padding: 5px;
432
+ background-color: white;
433
+ color: black;
434
+ font-size: 10px;
435
+ opacity: .8;
436
+ height: 20px;
437
+ line-height: 10px;
431
438
  }
@@ -79,7 +79,7 @@ nav#main-navigation {
79
79
  }
80
80
  div#jumbotron {
81
81
  text-align: center;
82
- min-height: $jumbotron-height;
82
+ height: $jumbotron-height;
83
83
  z-index: 0;
84
84
  position: relative;
85
85
  background: none;
@@ -1,7 +1,7 @@
1
1
  /* Home Page Jumbotron Div */
2
2
  div#jumbotron-content {
3
3
  text-align: center;
4
- min-height: $jumbotron-height;
4
+ height: $jumbotron-height;
5
5
  }
6
6
  #jumbotron-image:before {
7
7
  content: '';
@@ -110,4 +110,7 @@ div.jumbotron-image{
110
110
  -o-background-size: cover;
111
111
  background-size: cover;
112
112
  background-position: center center;
113
+ }
114
+ #jumbotron small {
115
+ font-size: 14px;
113
116
  }
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.0.32
4
+ version: 3.0.33
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-12-05 00:00:00.000000000 Z
11
+ date: 2018-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -357,6 +357,7 @@ files:
357
357
  - _includes/pagination.html
358
358
  - _includes/post-sidebar.html
359
359
  - _includes/post-tags.html
360
+ - _includes/read_time.html
360
361
  - _includes/schema.html
361
362
  - _includes/sidebar.html
362
363
  - _includes/sticky-tab-bar.html