jumbo-jekyll-theme 3.3.4 → 3.3.5

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: 36222f150f05cbd38a7c9c18370087169a5491a6a8b95d73e5191cc7fe630968
4
- data.tar.gz: f11976cbacc84048cc89082b1b390b8b887c5c8e60694ac438c2ca6a40cdba3b
3
+ metadata.gz: 0c9d2fa86dace617db4beb004b4436dd320d841067c4f7aeb187b514f065a23f
4
+ data.tar.gz: 00c50c8791736f9b48e0f53254414b17a34646ba16f316221b68b6cd6aaf9dea
5
5
  SHA512:
6
- metadata.gz: d4ab1ec2e80d0ea92f321f25730b9f5cc980285e11b3cbff90249ffc88e6c2b6828411b205e83c9355e3f05b99cd0b970e56be9a334b75ba33e5fd9682f59566
7
- data.tar.gz: 2fcef989c1f169bb8752f3f353d274fb83310e0daf71fe5b613a0642b654deddfc6ffbd35a2d802eddea698b764ecfbaa81bece081b8636b3955a59a8ecfc0bd
6
+ metadata.gz: c6ac279abd18db61dcae93a26a3453cc88ea8efbfffe277bb9b3306778d5bff93bed3ede86ac3ddafedc21b64cb00bf771ed1a06a1dc8a72abb07c0fe66dd12f
7
+ data.tar.gz: a1acf43d4aa35d079ab90458135e071517c32177e5b68407a928d22eda38464335d40d1e9f6cbc525f18fd75405d33299c1d4eecabe4d6b18c79f8dcee1b4276
data/README.md CHANGED
@@ -23,4 +23,16 @@ The documentation for this theme is currently available through the Collaborate
23
23
 
24
24
  # Feature Requests / Bug Fixes
25
25
 
26
- If anyone that uses the theme has any useful bug fixes / feature requests that may be of interest then please feel free to fork/submit a PR with your fixes/features.
26
+ If anyone that uses the theme has any useful bug fixes / feature requests that may be of interest then please feel free to fork/submit a PR with your fixes/features.
27
+
28
+
29
+
30
+ # Blog Post Images
31
+
32
+ To add a featured image to your blog post set the `image:` key in your posts front matter:
33
+
34
+ ```yaml
35
+ image: /assets/images/social-media-image.png
36
+ ```
37
+
38
+ Thumbnails are automatically generated from your high resolution image upon site build using the `jekyll-responsive-image` plugin.
data/_data/settings.yml CHANGED
@@ -98,4 +98,7 @@ mailchimp:
98
98
  # facebook_username: LinaroOrg
99
99
  # youtube_username: linaroorg
100
100
  # twitter_username: linaroorg
101
- # slideshare_username: linaroorg
101
+ # slideshare_username: linaroorg
102
+ #
103
+ # Default Social Media share image location
104
+ social_share_image: /assets/images/social-media-image.png
@@ -43,6 +43,9 @@
43
43
  alt: {{ post.title | slugify: "ascii"}}
44
44
  {% endif %}
45
45
  {% endresponsive_image_block %}
46
+ {% elsif post.image == site.data.settings.social_share_image %}
47
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="{{site.data.settings.placeholder}}"
48
+ alt="{{post.title}}" class="center-block img-responsive lazyload" />
46
49
  {% elsif post.image %}
47
50
  {% capture image_path %}{{post.image | remove_first: "/" }}{% endcapture %}
48
51
  {% capture full_path %}{{post.image}}{% endcapture %}
@@ -49,6 +49,9 @@
49
49
  alt: {{ post.title | slugify: "ascii"}}
50
50
  {% endif %}
51
51
  {% endresponsive_image_block %}
52
+ {% elsif post.image == site.data.settings.social_share_image %}
53
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="{{site.data.settings.placeholder}}"
54
+ alt="{{post.title}}" class="center-block img-responsive lazyload" />
52
55
  {% elsif post.image %}
53
56
  {% capture image_path %}{{post.image | remove_first: '/'}}{% endcapture %}
54
57
  {% capture full_path %}{{post.image }}{% endcapture %}
@@ -134,6 +137,9 @@
134
137
  alt: {{ post.title | slugify: "ascii"}}
135
138
  {% endif %}
136
139
  {% endresponsive_image_block %}
140
+ {% elsif post.image == site.data.settings.social_share_image %}
141
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="{{site.data.settings.placeholder}}"
142
+ alt="{{post.title}}" class="center-block img-responsive lazyload" />
137
143
  {% elsif post.image %}
138
144
  {% capture image_path %}{{post.image | remove_first: '/' }}{% endcapture %}
139
145
  {% capture full_path %}{{post.image }}{% endcapture %}
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.3.4
4
+ version: 3.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-08 00:00:00.000000000 Z
11
+ date: 2019-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll