zeus.ugent.be/layouts/blogpost.erb

21 lines
400 B
Text
Raw Normal View History

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 %>
2016-10-31 16:53:19 +01:00
<div class="content columns">
<div class="column is-2"></div>
<main class="column">
2016-08-23 20:21:02 +02:00
<%= yield %>
</main>
2016-10-31 16:53:19 +01:00
<div class="column is-2"></div>
2016-08-23 20:21:02 +02:00
</div>