zeus.ugent.be/layouts/blogpost.erb
2016-10-31 16:53:19 +01:00

20 lines
400 B
Text

<h1 class="title is-1 has-text-centered">
<%= item[:title] %>
</h1>
<% if item[:author] %>
<h2 class="subtitle is-3 has-text-centered">
<% if item[:lang] == :en %>
by
<% else %>
door
<% end %>
<%= item[:author] %>
</h2>
<% end %>
<div class="content columns">
<div class="column is-2"></div>
<main class="column">
<%= yield %>
</main>
<div class="column is-2"></div>
</div>