try this for unfurling

This commit is contained in:
Lorin Werthen 2017-05-18 15:33:43 +02:00
parent 0a6b26ffeb
commit 84337c9e30
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0

View file

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