zeus.ugent.be/layouts/generic.erb

18 lines
396 B
Text

<div class="container">
<header class="section">
<%= render '/partials/_navbar.*' %>
</header>
<main class="section">
<% if item[:narrow_page] %>
<div class="columns">
<article class="column is-8 is-offset-2 <%= 'toc-container' if @item[:toc] %>">
<% end %>
<%= yield %>
<% if item[:narrow_page] %>
</article>
</div>
<% end %>
</main>
</div>