2018-03-12 19:31:14 +00:00
|
|
|
|
|
|
|
<%
|
|
|
|
let contType = '';
|
|
|
|
if (is_root()) {
|
|
|
|
contType = 'main__container';
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<%- partial('_partial/head') %>
|
|
|
|
<body>
|
|
|
|
<main class="container-wrapper">
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade</a>.</p>
|
|
|
|
<![endif]-->
|
|
|
|
<noscript><small class="no-js">You disabled Javascript. Please, enable it for better experience.</small></noscript>
|
|
|
|
<%- partial('_partial/navbar', null, {cache: !config.relative_link}) %>
|
2018-03-12 22:34:24 +00:00
|
|
|
<%- partial('_partial/sidebar') %>
|
2018-03-12 19:31:14 +00:00
|
|
|
<div class="container <%= contType %>"><%- body %></div>
|
|
|
|
</main>
|
2018-03-12 20:04:15 +00:00
|
|
|
<script src="/js/main.min.js"></script>
|
|
|
|
<% if (is_root()) { %> <script src="/js/index.min.js"></script> <% } %>
|
2018-03-12 19:31:14 +00:00
|
|
|
</body>
|
|
|
|
</html>
|