From 436b54b900649b792d9ff8ff3f800a3cc3729e6c Mon Sep 17 00:00:00 2001 From: Riccardo Spagni <ric@spagni.net> Date: Wed, 18 Feb 2015 10:46:03 +0200 Subject: [PATCH] use post summary for live tiles --- _plugins/jekyll-live-tiles.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_plugins/jekyll-live-tiles.rb b/_plugins/jekyll-live-tiles.rb index 76d230a9..c7475344 100644 --- a/_plugins/jekyll-live-tiles.rb +++ b/_plugins/jekyll-live-tiles.rb @@ -106,7 +106,7 @@ module Jekyll end v.binding("template"=>"TileSquare310x310TextList02", "branding"=>"logo", "fallback"=>"TileWideText09") do |b| b.tag!("text", post.title, "id"=>"1") - b.tag!("text", shorten(strip(post.content)),"id"=>"2") + b.tag!("text", shorten(post.data["summary"]),"id"=>"2") b.tag!("text", "#{post.date.month}-#{post.date.day}-#{post.date.year}", "id"=>"3") end end -- GitLab