From 0ae406a107638f8eb616484326bb946d0ff556c3 Mon Sep 17 00:00:00 2001 From: Nielsen Ramon Date: Mon, 26 Jun 2017 11:15:50 +0200 Subject: [PATCH] Fix retina.js + truncate warning --- _assets/javascripts/vendor.js | 2 +- _layouts/post.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_assets/javascripts/vendor.js b/_assets/javascripts/vendor.js index 00d74dff9..ad226460c 100644 --- a/_assets/javascripts/vendor.js +++ b/_assets/javascripts/vendor.js @@ -1,4 +1,4 @@ //= require jquery //= require throttle-debounce-fn/dist/throttle-debounce-fn.js //= require fluidbox -//= require retinajs +//= require retinajs/dist/retina.js diff --git a/_layouts/post.html b/_layouts/post.html index fa129aef6..1b4d80939 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -37,7 +37,7 @@

{{ page.title }}

- {% assign page_title = page.title | truncate 110 | cgi_escape %} + {% assign page_title = page.title | cgi_escape | truncate: 110 %} {% capture twitter-share-text %}{{ page_title }} - {{ page.url | absolute_url }}{% if site.social.twitter %} by @{{ site.social.twitter }}{% endif %}{% endcapture %}