21 lines
648 B
Text
21 lines
648 B
Text
<% if(is_current('/404.html') || is_current('/404/')) { %>
|
|
<%- partial('_partial/404') %>
|
|
<% } else { %>
|
|
<% if(is_current('/docs.html') || is_current('/docs/')) { %>
|
|
<div class="sidenav">
|
|
<div class="sidenav-contents">
|
|
<a href="/"><b>Return to the main page</b></a>
|
|
<%- toc(page.content, {min_depth: 2, max_depth: 3, list_number: false}) %>
|
|
</div>
|
|
</div>
|
|
<% } %>
|
|
<div class="content">
|
|
<div class="real-content">
|
|
<% if(is_current('/docs.html') || is_current('/docs/')) { %>
|
|
<a href="/" class="hideinprint">Return to the main page</a>
|
|
<% } %>
|
|
<h1><%= page.title %></h1>
|
|
<%- page.content %>
|
|
</div>
|
|
</div>
|
|
<% } %>
|