2017-05-18 15:33:43 +02:00
|
|
|
<% content_for :head do %>
|
|
|
|
<meta property="og:title" content="<%= item[:title] %>" />
|
|
|
|
<meta property="og:type" content="article" />
|
2018-03-11 14:27:30 +01:00
|
|
|
<meta property="og:image" content="" />
|
2017-05-18 15:33:43 +02:00
|
|
|
<meta property="og:url" content="<%= url_for(item) %>" />
|
|
|
|
<meta property="og:description" content="<%= item[:description] %>" />
|
|
|
|
<meta property="og:site_name" content="Zeus WPI" />
|
2018-03-11 14:27:30 +01:00
|
|
|
<meta property="article:author" content="<%= @item[:author] %>">
|
2017-05-18 15:33:43 +02:00
|
|
|
<meta name="twitter:label1" value="Author" />
|
|
|
|
<meta name="twitter:data1" value="<%= @item[:author] %>" />
|
|
|
|
<meta name="twitter:label2" value="Created at" />
|
2021-03-18 11:24:00 +01:00
|
|
|
<meta name="twitter:data2" value="<%= @item[:created_at] %>" />
|
2017-05-18 15:33:43 +02:00
|
|
|
<meta name="twitter:card" content="summary_large_image" />
|
2018-07-10 23:43:10 +02:00
|
|
|
|
|
|
|
<!-- Animate.css -->
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
|
2021-02-26 15:24:40 +01:00
|
|
|
|
|
|
|
<!-- KaTeX math css -->
|
|
|
|
<link rel="stylesheet" type="text/css" href="/assets/stylesheets/katex.css">
|
2017-05-18 15:33:43 +02:00
|
|
|
<% end %>
|
|
|
|
|
2017-04-20 14:20:32 +02:00
|
|
|
<div class="blog-heading">
|
|
|
|
<div class="titlewrap">
|
2018-06-17 22:26:58 +02:00
|
|
|
<h1 class="title is-1-responsive has-text-centered animated fadeIn">
|
2017-04-20 14:20:32 +02:00
|
|
|
<%= item[:title] %>
|
|
|
|
</h1>
|
|
|
|
<% if item[:author] %>
|
2021-03-18 15:02:08 +01:00
|
|
|
<h2 class="subtitle is-4-responsive has-text-centered animated fadeInLeft">
|
2017-04-20 14:20:32 +02:00
|
|
|
door <%= item[:author] %>
|
|
|
|
</h2>
|
2017-02-02 20:44:30 +01:00
|
|
|
<% end %>
|
2017-04-21 15:45:53 +02:00
|
|
|
<div class="details animated fadeInRight">
|
2017-04-20 14:20:32 +02:00
|
|
|
<small>
|
2021-03-18 11:24:00 +01:00
|
|
|
Geschreven op <%= item[:created_at] %><br>
|
2017-04-20 14:20:32 +02:00
|
|
|
Leestijd: <%= reading_time @item %>
|
|
|
|
</small>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-02-02 20:44:30 +01:00
|
|
|
</div>
|
|
|
|
|
2017-04-21 15:45:53 +02:00
|
|
|
<div class="columns animated fadeIn">
|
2017-02-02 20:44:30 +01:00
|
|
|
<%= yield %>
|
2016-11-01 21:49:36 +01:00
|
|
|
</div>
|