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

View file

@ -48,7 +48,7 @@
<body class="site"> <body class="site">
<div class="wrapper"> <div class="wrapper">
<%= yield %> <%= yield %>
</div> </div>
<%= render '/partials/_footer.*' %> <%= render '/partials/_footer.*' %>
</body> </body>
</html> </html>