use post summary for live tiles

This commit is contained in:
Riccardo Spagni 2015-02-18 10:46:03 +02:00
parent 0a0325431a
commit 436b54b900
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -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