more responsive blogposts

This commit is contained in:
Lorin Werthen 2016-10-31 16:53:19 +01:00
parent 6bc6b9c325
commit a8a3cc535e
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0

View file

@ -3,11 +3,18 @@
</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 blogpost">
<main class="blogwidth">
<div class="content columns">
<div class="column is-2"></div>
<main class="column">
<%= yield %>
</main>
<div class="column is-2"></div>
</div>