jumbo-jekyll-theme 4.3.5 → 4.3.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56b3250904746bfc0534064fa73fefb2bad243be473cd3031d6f5d7fd849236e
4
- data.tar.gz: c207cd085ce0b473a6b74150d6369a93046826db01239ce6e301c98404133294
3
+ metadata.gz: 6d34867e5d596761ad92e97fdaa3de75555ab3481a1535f6ce145afc18cf8fa5
4
+ data.tar.gz: ec757455b2dea8499d77f0f5639712d854e3b28eae787077b04c269aa94a5b73
5
5
  SHA512:
6
- metadata.gz: 595b3961c953fcb6428192d41a308a951700eb64882ef6235e76f95bdc75c2b1daca679dafb99ee2fc0d5e1b52cae7f7636ac5f38995e9e5a0e0ef20fc438bf7
7
- data.tar.gz: 2019afd79a00d65215b09632f1f3f235ebd489ad71f9a3a90c72bc8aa048fc30936cead5ec5ee9e36b63e9ea39322333b3595b1e751af441917df9dc05ae8cd7
6
+ metadata.gz: 201a41af60a7596c164e15f947ff69f12bc6e475b0c8070d0b88e9e2709f394045704b26ea65d99c4dd88e69032146353669c7100e5a3f4c740c1b9a8d3c5ec8
7
+ data.tar.gz: 8281f7605724b0b0d059e8245e0d0f1a6bb01ed7d925f8e32caeea5b98f8bdaca6eaceafbea346605d06cc9f68b238d1d722ab4ad80cb74bfeb0f114ecc4bbc6
@@ -85,10 +85,9 @@
85
85
  <div class="col-sm-4 col-xs-12 blog-post-item-col no-padding">
86
86
  <div class="blog-post-item">
87
87
  <a href="{{post.url}}">
88
- <div class="blog-featured-image">
88
+ <div class="blog-featured-image {% if post.image == site.data.settings.social_share_image %}using-placeholder{% endif %}">
89
89
 
90
90
  {% assign image_path = "" %}
91
-
92
91
  {% if post.image.thumb %}
93
92
  {% capture image_path %}{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
94
93
  {% capture full_path %}/{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
@@ -101,6 +100,7 @@
101
100
  {% elsif post.image == site.data.settings.social_share_image %}
102
101
  {% capture image_path %}{{site.data.settings.placeholder | remove_first: "/" }}{% endcapture %}
103
102
  {% capture full_path %}{{site.data.settings.placeholder}}{% endcapture %}
103
+ {% assign using_placeholder = "true" %}
104
104
  {% elsif post.image %}
105
105
  {% capture image_path %}{{post.image | remove_first: "/" }}{% endcapture %}
106
106
  {% capture full_path %}{{post.image}}{% endcapture %}
@@ -652,4 +652,7 @@ pre.highlight {
652
652
  }
653
653
  .blog-post-item a {
654
654
  width: 100%;
655
+ }
656
+ .blog-featured-image.using-placeholder img {
657
+ object-fit: contain !important;
655
658
  }
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: 4.3.5
4
+ version: 4.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby