commit
537dd68338
2 changed files with 13 additions and 7 deletions
|
@ -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>
|
|
@ -48,7 +48,7 @@
|
|||
<body class="site">
|
||||
<div class="wrapper">
|
||||
<%= yield %>
|
||||
</div>
|
||||
</div>
|
||||
<%= render '/partials/_footer.*' %>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue