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 %>
|
2021-03-18 15:02:08 +01:00
|
|
|
<div class="columns is-centered">
|
|
|
|
<article class="column is-8 <%= '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>
|