2020-04-01 10:14:18 +08:00
|
|
|
<div class="page-template">
|
|
|
|
<div class="page-top">
|
|
|
|
<%- partial('_partial/header') %>
|
2020-03-15 17:39:18 +08:00
|
|
|
</div>
|
2020-04-02 22:07:55 +08:00
|
|
|
|
2020-04-01 10:14:18 +08:00
|
|
|
<div class="page-middle">
|
2020-04-01 12:09:06 +08:00
|
|
|
<main class="main-content">
|
|
|
|
<% if (is_home()) { %>
|
|
|
|
<%- partial('home-content') %>
|
|
|
|
|
|
|
|
<% } else if (is_archive()) { %>
|
|
|
|
<%- partial('archive-content') %>
|
|
|
|
|
|
|
|
<% } else if (is_post()) { %>
|
|
|
|
<%- partial('article-content') %>
|
|
|
|
|
|
|
|
<% } else if (is_category()) { %>
|
|
|
|
<%- partial('category-content') %>
|
|
|
|
|
|
|
|
<% } else if (is_tag()) { %>
|
|
|
|
<%- partial('tag-content') %>
|
|
|
|
|
|
|
|
<% } else if (page.title == 'about') { %>
|
|
|
|
<%- partial('about') %>
|
|
|
|
<% } %>
|
|
|
|
</main>
|
2020-04-02 11:01:24 +08:00
|
|
|
<div class="sidebar-tools">
|
|
|
|
<%- partial('_partial/tools') %>
|
|
|
|
</div>
|
2020-04-01 10:14:18 +08:00
|
|
|
</div>
|
2020-04-02 11:01:24 +08:00
|
|
|
|
2020-04-01 10:14:18 +08:00
|
|
|
<div class="page-bottom">
|
|
|
|
<%- partial('_partial/footer') %>
|
2020-03-15 17:39:18 +08:00
|
|
|
</div>
|
2020-04-02 22:07:55 +08:00
|
|
|
</div>
|
|
|
|
<% if (theme.local_search.enable) { %>
|
|
|
|
<%- partial('_partial/local-search') %>
|
|
|
|
<% } %>
|