zeus.ugent.be/layouts/generic.erb

21 lines
533 B
Text

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