zeus.ugent.be/layouts/blogpost.erb

23 lines
562 B
Text
Raw Normal View History

2017-04-20 14:20:32 +02:00
<div class="blog-heading">
<div class="titlewrap">
2017-04-21 15:45:53 +02:00
<h1 class="title is-1 has-text-centered animated fadeIn">
2017-04-20 14:20:32 +02:00
<%= item[:title] %>
</h1>
<% if item[:author] %>
2017-04-21 15:45:53 +02:00
<h2 class="subtitle is-3 has-text-centered animated fadeInLeft">
2017-04-20 14:20:32 +02:00
door <%= item[:author] %>
</h2>
<% end %>
2017-04-21 15:45:53 +02:00
<div class="details animated fadeInRight">
2017-04-20 14:20:32 +02:00
<small>
Geschreven op <%= item[:created_at] %><br>
Leestijd: <%= reading_time @item %>
</small>
</div>
</div>
</div>
2017-04-21 15:45:53 +02:00
<div class="columns animated fadeIn">
<%= yield %>
</div>