fix #12
This commit is contained in:
parent
6046160499
commit
f4d5b06307
1 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,13 @@
|
||||||
<meta property="og:title" content="<%= item[:title] %>" />
|
<meta property="og:title" content="<%= item[:title] %>" />
|
||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content="<%= url_for(item) %>" />
|
<meta property="og:url" content="<%= url_for(item) %>" />
|
||||||
|
<meta property="og:description" content="<%= item[:description] %>" />
|
||||||
|
<meta property="og:site_name" content="Zeus WPI" />
|
||||||
|
<meta name="twitter:label1" value="Time" />
|
||||||
|
<meta name="twitter:data1" value="<%= item[:time].strftime '%A %d %B %Y %H:%M' %>" />
|
||||||
|
<meta name="twitter:label2" value="Place" />
|
||||||
|
<meta name="twitter:data2" value="<%= item[:location] %>" />
|
||||||
|
<meta name="twitter:card" content="summary_large_image" />
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if item[:banner] %>
|
<% if item[:banner] %>
|
||||||
|
|
Loading…
Reference in a new issue