_layouts/post.html in linaro-jekyll-theme-0.10.11 vs _layouts/post.html in linaro-jekyll-theme-0.10.12

- old
+ new

@@ -76,14 +76,14 @@ <a href="{{recent_post.url}}">{{recent_post.title | truncate: 40}}</a> <br /><small><em>{{recent_post.date | date: "%A, %B %-d, %Y" }}</em></small> </div> <div class="col-md-3 col-sm-3 col-xs-3 no-padding"> <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" - {% if recent_post.featured_image %} - data-src="{{recent_post.featured_image}}" + {% if recent_post.image %} + data-src="/assets/images/{{recent_post.featured_image}}" {% else %} - data-src="/assets/images/placeholder.png" + data-src="{% if site.data.company.placeholder %}{{site.data.company.placeholder}}{% else %}/assets/images/placeholder.png{% endif %}" {% endif %} alt="{{recent_post.title}}" class="img-responsive lazyload"/> </div> </div> </div> @@ -110,10 +110,10 @@ <div class="col-md-3 col-sm-3 col-xs-3 no-padding"> <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" {% if post.featured_image %} data-src="/assets/images/blog/thumbnails/{{post.featured_image}}" {% else %} - data-src="/assets/images/placeholder.png" + data-src="{% if site.data.company.placeholder %}{{site.data.company.placeholder}}{% else %}/assets/images/placeholder.png{% endif %}" {% endif %} alt="{{post.title}}" class="img-responsive lazyload"/> </div> </div> </div>