mirror of
https://github.com/monero-project/monero-site.git
synced 2025-01-28 18:56:33 +02:00
use post summary for live tiles
This commit is contained in:
parent
0a0325431a
commit
436b54b900
@ -106,7 +106,7 @@ module Jekyll
|
|||||||
end
|
end
|
||||||
v.binding("template"=>"TileSquare310x310TextList02", "branding"=>"logo", "fallback"=>"TileWideText09") do |b|
|
v.binding("template"=>"TileSquare310x310TextList02", "branding"=>"logo", "fallback"=>"TileWideText09") do |b|
|
||||||
b.tag!("text", post.title, "id"=>"1")
|
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")
|
b.tag!("text", "#{post.date.month}-#{post.date.day}-#{post.date.year}", "id"=>"3")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user