mirror of
https://github.com/fmap/muflax65ngodyewp.onion
synced 2024-06-29 10:36:48 +02:00
46 lines
776 B
Plaintext
46 lines
776 B
Plaintext
<div id="<%= @navbar ? "body-nav" : "body" %>">
|
|
|
|
<!-- main part -->
|
|
<div id="main">
|
|
<%= render 'title' %>
|
|
|
|
<%= render 'warnings' %>
|
|
|
|
<% render 'content' do %>
|
|
<%= yield %>
|
|
<% end %>
|
|
|
|
<% if @site.blog? %>
|
|
<%= render 'next-prev' %>
|
|
<% end %>
|
|
|
|
<%= render 'comments' %>
|
|
</div>
|
|
|
|
<% if @navbar %>
|
|
<!-- navigation sidebar -->
|
|
<div id="nav">
|
|
|
|
<h1 class="title">Navigation</h1>
|
|
|
|
<% if @search %>
|
|
<%= google_search %>
|
|
<% end %>
|
|
|
|
<% if @toc and @item[:toc] %>
|
|
<%= render 'toc' %>
|
|
<% end %>
|
|
|
|
<% if @categories %>
|
|
<%= render 'cat-nav', :item => @item %>
|
|
<% end %>
|
|
|
|
</div>
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<% if @breadcrumbs %>
|
|
<%= render 'breadcrumb' %>
|
|
<% end %>
|