jumbo-jekyll-theme 1.4.2.17 → 1.4.2.18

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: b0c444c7291ace7deddba6c71981a42d9b14e86f
4
- data.tar.gz: cad627c78c0632753395b03c29be6d2eafd8134a
3
+ metadata.gz: fc05f808ea4f6908bdd76b1fa993fd4d66924a01
4
+ data.tar.gz: 977dda2e8ff1bd033949fe0dc56bc7a377e8b8b9
5
5
  SHA512:
6
- metadata.gz: 4cebb2bc49c8385b93d0f4879d8d365f850231ae0c71dab1f7bbfd2354093ca1939e85f520f29d9fcf4d670c81cd09a63859bb5d54e6b7caa0d322ed33a3ca9f
7
- data.tar.gz: c5131597d77b757b1cace63afbf2faf2dd667d5e20e42c58c1b0a115a1246ba9ec83eccd996053a18a87c22bbbe586188ca4f08ecb2d3d8bb235df9ed54a47a6
6
+ metadata.gz: 7947bbc58277cb0912d70ee622ec415fbb687cc64653b523604d236b2e8c94c2a1d3a69f18ec7f5f644b13971f5b0699f4a272928c6830aa9dbece474fc5a26c
7
+ data.tar.gz: c0249d2f35b37c4c71ae2c937fa37a414b7872053d8d1452a69ee9162ac81f55baf76350a2710d922a43f87d5fa755daef62603e2e27cd07a9412fff2cb1362e
@@ -3,22 +3,27 @@
3
3
  {% if site.data.settings.blog.show_thumbnails %}
4
4
  <div class="col-md-4 col-sm-4 col-xs-4">
5
5
  <a href="{{post.url}}">
6
- <img class="img-responsive blog-img lazyload"
7
- src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
8
- {% if site.using_assets == true %}
9
- {% if post.featured_image %}
10
- data-src="{% asset_path '{{post.featured_image}}' %}"
11
- {% else %}
12
- data-src="{% asset_path '{{site.data.company.placeholder}}' %}"
13
- {% endif %}
6
+ {% if post.image.name %}
7
+ <picture>
8
+ <source srcset="/{{site.mini_magick.thumbnails.destination}}{{post.image.name}}"
9
+ media="(max-width: 999px)" />
10
+ <source srcset="/{{site.mini_magick.medium.destination}}{{post.image.name}}"
11
+ media="(min-width: 1000px)" />
12
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
13
+ data-src="/{{site.mini_magick.thumbnail.destination}}{{post.image.name}}"
14
+ class="lazyload img-responsive center-block"/>
15
+ </picture>
14
16
  {% else %}
15
- {% if post.featured_image %}
16
- data-src="/assets{{post.featured_image}}"
17
- {% else %}
18
- data-src="{% if site.data.company.placeholder %}{{site.data.company.placeholder}}{% else %}/assets/images/placeholder.png{% endif %}"
19
- {% endif %}
17
+ <picture>
18
+ <source srcset="/{{site.mini_magick.thumbnails.destination}}{{site.data.settings.placeholder}}"
19
+ media="(max-width: 999px)" />
20
+ <source srcset="/{{site.mini_magick.medium.destination}}{{site.data.settings.placeholder}}"
21
+ media="(min-width: 1000px)" />
22
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
23
+ data-src="/{{site.mini_magick.thumbnail.destination}}{{site.data.settings.placeholder}}"
24
+ class="lazyload img-responsive center-block"/>
25
+ </picture>
20
26
  {% endif %}
21
- alt="{{post.title}}" />
22
27
  </a>
23
28
  </div>
24
29
  <div class="col-md-8 col-sm-8 col-xs-8 post_title no-padding">
@@ -2,6 +2,8 @@
2
2
  {% comment %}
3
3
  Recent Posts Displayed here.
4
4
  {% endcomment %}
5
+
6
+
5
7
  <div class="panel panel-primary" class="blog-sidebar">
6
8
  <div class="panel-heading">
7
9
  <h3 class="panel-title">Recent Posts</h3>
@@ -10,6 +10,6 @@ js-package: blog
10
10
  {% include pagination.html %}
11
11
  </div>
12
12
 
13
- <div class="col-md-3">
13
+ <div class="col-md-3 blog-sidebar">
14
14
  {% include post-sidebar.html %}
15
15
  </div>
@@ -164,7 +164,7 @@ css-package: blog
164
164
 
165
165
  {% include post-comments.html %}
166
166
  </div>
167
- <div class="col-md-3">
167
+ <div class="col-md-3 blog-sidebar">
168
168
  {% include post-sidebar.html %}
169
169
  </div>
170
170
  {% else %}
@@ -368,7 +368,14 @@ img.large-inline.right {
368
368
 
369
369
  }
370
370
 
371
-
371
+ @media(max-width: $screen-md-min - 1){
372
+ /* Blog Sidebar */
373
+ .col-md-3.blog-sidebar {
374
+ margin-top: 15px;
375
+ padding-right: 0px;
376
+ padding-left: 0px;
377
+ }
378
+ }
372
379
 
373
380
  // Blog Side Panel Styles
374
381
  .featured_post_post > .row {
@@ -417,3 +424,4 @@ img.large-inline.right {
417
424
  color:black;
418
425
  }
419
426
 
427
+
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.17
4
+ version: 1.4.2.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby