try this for unfurling
This commit is contained in:
parent
0a6b26ffeb
commit
84337c9e30
1 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,16 @@
|
|||
<% content_for :head do %>
|
||||
<meta property="og:title" content="<%= item[:title] %>" />
|
||||
<meta property="og:type" content="article" />
|
||||
<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="Author" />
|
||||
<meta name="twitter:data1" value="<%= @item[:author] %>" />
|
||||
<meta name="twitter:label2" value="Created at" />
|
||||
<meta name="twitter:data2" value="<%= @item[:created_at] %>" />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<% end %>
|
||||
|
||||
<div class="blog-heading">
|
||||
<div class="titlewrap">
|
||||
<h1 class="title is-1 has-text-centered animated fadeIn">
|
||||
|
|
Loading…
Reference in a new issue