Enhanced blogpost with capitalized letters, date, html tags, hr and bigger text

This commit is contained in:
Benjamin Rombaut 2016-11-01 20:49:36 +00:00
parent 1cc8efbbd6
commit fc379674f0
2 changed files with 13 additions and 7 deletions

View file

@ -1,3 +1,6 @@
<div class="columns">
<article class="column is-8 is-offset-2">
<div class="heading">
<h1 class="title is-1 has-text-centered">
<%= item[:title] %>
</h1>
@ -11,10 +14,13 @@
<%= 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>
<p class="has-text-centered">
<small>Created at <%= item[:created_at] %></small>
</p>
<hr>
</div>
<div class="content is-medium">
<%= yield %>
</article>
</div>
</div>