2018-10-16 05:28:42 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html <%- has_config('language') ? ' lang="' + get_config('language').substring(0, 2) + '"' : '' %>>
|
|
|
|
<head>
|
2019-08-16 05:03:19 +00:00
|
|
|
<%- _partial('common/head') %>
|
2018-10-16 05:28:42 +00:00
|
|
|
</head>
|
|
|
|
<body class="is-<%= column_count() %>-column">
|
2019-08-16 05:03:19 +00:00
|
|
|
<%- _partial('common/navbar') %>
|
2018-10-20 05:22:39 +00:00
|
|
|
<% function main_column_class() {
|
|
|
|
switch (column_count()) {
|
|
|
|
case 1:
|
|
|
|
return 'is-12';
|
|
|
|
case 2:
|
|
|
|
return 'is-8-tablet is-8-desktop is-8-widescreen';
|
|
|
|
case 3:
|
|
|
|
return 'is-8-tablet is-8-desktop is-6-widescreen'
|
|
|
|
}
|
|
|
|
return '';
|
|
|
|
} %>
|
2018-10-16 05:28:42 +00:00
|
|
|
<section class="section">
|
|
|
|
<div class="container">
|
2018-10-31 03:57:31 +00:00
|
|
|
<div class="columns">
|
|
|
|
<div class="column <%= main_column_class() %> has-order-2 column-main"><%- body %></div>
|
2019-08-16 05:03:19 +00:00
|
|
|
<%- _partial('common/widget', { position: 'left' }) %>
|
|
|
|
<%- _partial('common/widget', { position: 'right' }) %>
|
2018-10-16 05:28:42 +00:00
|
|
|
</div>
|
2016-02-02 16:19:44 +00:00
|
|
|
</div>
|
2018-10-16 05:28:42 +00:00
|
|
|
</section>
|
2019-08-16 05:03:19 +00:00
|
|
|
<%- _partial('common/footer') %>
|
|
|
|
<%- _partial('common/scripts') %>
|
2018-10-16 05:28:42 +00:00
|
|
|
|
|
|
|
<% if (has_config('search.type')) { %>
|
2019-08-16 05:03:19 +00:00
|
|
|
<%- _partial('search/' + get_config('search.type')) %>
|
2018-10-16 05:28:42 +00:00
|
|
|
<% } %>
|
2015-03-19 14:25:53 +00:00
|
|
|
</body>
|
|
|
|
</html>
|