zeus.ugent.be/layouts/generic.erb

22 lines
533 B
Text
Raw Normal View History

2016-07-27 20:27:28 +02:00
<div class="container">
<header class="section">
<%= render '/partials/_navbar.*' %>
</header>
<main class="section">
2016-12-12 14:40:42 +01:00
<% if item[:narrow_page] %>
2020-08-06 15:02:14 +02:00
<% if item[:subnavigation] %>
<%= render '/partials/_sub_navbar.*', selected: item[:subnavigation][:identifier] %>
<% end %>
2016-12-12 14:40:42 +01:00
<div class="columns">
2019-11-27 14:30:30 +01:00
<article class="column is-8 is-offset-2 <%= 'toc-container' if @item[:toc] %>">
2016-12-12 14:40:42 +01:00
<% end %>
2017-04-21 14:37:31 +02:00
<%= yield %>
2016-12-12 14:40:42 +01:00
<% if item[:narrow_page] %>
2017-04-21 14:37:31 +02:00
</article>
</div>
2016-12-12 14:40:42 +01:00
<% end %>
2016-07-27 20:27:28 +02:00
</main>
2016-07-23 21:17:24 +02:00
</div>