linaro-jekyll-theme 0.10.11 → 0.10.12

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: 19e05147d8757902ce16ea3d1fd08023b0e3c330
4
- data.tar.gz: 447a349a2b298bc95523c182a8a341f054e0f17a
3
+ metadata.gz: b4e5a18dcef2b48e3d78fddf10825fbc0ea5e46d
4
+ data.tar.gz: 72597dec1d7e01bd2a84bc42e9395cafd9a12e8f
5
5
  SHA512:
6
- metadata.gz: e8e1d8ad144e2483a0ffe3437ab8f787f02cd7993cca4ecc9c80f152d68275dcb343c9c3237ef27bdb7f65f61dd76edf8154bb08a0a36239acd3e7e71508d256
7
- data.tar.gz: a3c653fb251e54d75671365a73ffe64738ca62608813a8cfd92836036412caca9f165d5b691643b65383bdc99197f277f7caec4f302148ac6d96b06e6a918e4f
6
+ metadata.gz: 946eaf73a1a45cb5efa2eaadec36c99f4ba320fe59cc878d4754456ee90a67e895097134f7c07841e5cabdec927393e790a4aa3253a7080d385a46747adedd52
7
+ data.tar.gz: 638dc72ae5ac554496a64d0bc7d67b8a10e98154b925342be27aacbb1db66e6a56b8806d6d18772faba3495c3429619f22ceea2340bba0f60aaaabe5bccc5ef0
data/_data/company.yml CHANGED
@@ -22,3 +22,4 @@ slogan: A theme for Linaro Static Sites
22
22
 
23
23
  # homepage_image: /assets/images/background-image.jpg
24
24
  breadcrumb-image: /assets/images/background-image.jpg
25
+ placeholder: /assets/images/placeholder.png
data/_layouts/blog.html CHANGED
@@ -19,7 +19,6 @@ specific_css: /assets/css/blog-pages.css
19
19
  <a href="https://twitter.com/{{site.twitter_username}}" class="blog-icons"><i class="icon-twitter"></i></a>
20
20
  <a href="https://www.youtube.com/{{site.youtube_username}}" class="blog-icons"><i class="icon-youtube"></i></a>
21
21
  </div>
22
-
23
22
  </div>
24
23
  <div class="panel panel-default blog-panel">
25
24
  <div class="panel-heading">
@@ -32,9 +31,9 @@ specific_css: /assets/css/blog-pages.css
32
31
  <div class="col-md-3 col-sm-3 col-xs-3 no-padding">
33
32
  <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
34
33
  {% if blog.image %}
35
- data-src="/assets/{{blog.image}}"
34
+ data-src="/assets{{blog.image}}"
36
35
  {% else %}
37
- data-src="/assets/images/blog/placeholder.png"
36
+ data-src="{% if site.data.company.placeholder %}{{site.data.company.placeholder}}{% else %}/assets/images/placeholder.png{% endif %}"
38
37
  {% endif %}
39
38
  alt="{{blog.title}}" class="img-responsive lazyload"/>
40
39
  </div>
data/_layouts/post.html CHANGED
@@ -78,10 +78,10 @@ layout: empty
78
78
  </div>
79
79
  <div class="col-md-3 col-sm-3 col-xs-3 no-padding">
80
80
  <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
81
- {% if recent_post.featured_image %}
82
- data-src="{{recent_post.featured_image}}"
81
+ {% if recent_post.image %}
82
+ data-src="/assets/images/{{recent_post.featured_image}}"
83
83
  {% else %}
84
- data-src="/assets/images/placeholder.png"
84
+ data-src="{% if site.data.company.placeholder %}{{site.data.company.placeholder}}{% else %}/assets/images/placeholder.png{% endif %}"
85
85
  {% endif %}
86
86
  alt="{{recent_post.title}}" class="img-responsive lazyload"/>
87
87
  </div>
@@ -112,7 +112,7 @@ layout: empty
112
112
  {% if post.featured_image %}
113
113
  data-src="/assets/images/blog/thumbnails/{{post.featured_image}}"
114
114
  {% else %}
115
- data-src="/assets/images/placeholder.png"
115
+ data-src="{% if site.data.company.placeholder %}{{site.data.company.placeholder}}{% else %}/assets/images/placeholder.png{% endif %}"
116
116
  {% endif %}
117
117
  alt="{{post.title}}" class="img-responsive lazyload"/>
118
118
  </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linaro-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.11
4
+ version: 0.10.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby