zeus.ugent.be/layouts/blogpost.erb

26 lines
501 B
Text
Raw Normal View History

<div class="columns">
<article class="column is-8 is-offset-2">
<div class="heading">
2016-10-11 15:11:18 +02:00
<h1 class="title is-1 has-text-centered">
<%= item[:title] %>
</h1>
<% if item[:author] %>
<h2 class="subtitle is-3 has-text-centered">
2016-10-31 16:53:19 +01:00
<% if item[:lang] == :en %>
by
<% else %>
door
<% end %>
2016-10-11 15:11:18 +02:00
<%= item[:author] %>
</h2>
<% end %>
<p class="has-text-centered">
<small>Created at <%= item[:created_at] %></small>
</p>
<hr>
</div>
<div class="content is-medium">
2016-08-23 20:21:02 +02:00
<%= yield %>
</article>
2016-08-23 20:21:02 +02:00
</div>
</div>