Skip to content
Snippets Groups Projects
Unverified Commit 436b54b9 authored by Riccardo Spagni's avatar Riccardo Spagni :speech_balloon:
Browse files

use post summary for live tiles

parent 0a032543
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment