81 lines
2.2 KiB
Plaintext
81 lines
2.2 KiB
Plaintext
<div class="page-container">
|
|
|
|
<% if (theme.style.first_screen.enable && is_home()) { %>
|
|
<%- partial('_partial/first-screen.ejs') %>
|
|
<% } %>
|
|
|
|
<header class="page-header">
|
|
<div class="header-progress"></div>
|
|
</header>
|
|
|
|
<main class="page-main">
|
|
|
|
<div class="page-main-content">
|
|
|
|
<div class="page-main-content-top">
|
|
<%- partial('_partial/header') %>
|
|
</div>
|
|
|
|
<div class="page-main-content-middle">
|
|
|
|
<main class="main-content normal-code-theme">
|
|
|
|
<% 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 === 'category' || page.title === 'categories') { %>
|
|
<%- partial('category-list') %>
|
|
|
|
<% } else if (page.title === 'tag' || page.title === 'tags') { %>
|
|
<%- partial('_partial/tagcloud') %>
|
|
|
|
<% } else { %>
|
|
<%- partial('_partial/empty-page') %>
|
|
|
|
<% } %>
|
|
</main>
|
|
|
|
</div>
|
|
|
|
<div class="page-main-content-bottom">
|
|
<%- partial('_partial/footer') %>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<div class="sidebar-tools">
|
|
<%- partial('_partial/tools') %>
|
|
</div>
|
|
|
|
<% if (theme.side_tools.enable) { %>
|
|
<div class="bottom-sidebar-tools">
|
|
<%- partial('_partial/tools2') %>
|
|
</div>
|
|
<% } %>
|
|
|
|
<!-- page aside -->
|
|
<aside class="page-aside">
|
|
<% if (is_post()) { %>
|
|
<%- partial('_partial/toc') %>
|
|
<% } %>
|
|
</aside>
|
|
|
|
</div>
|
|
|
|
|
|
<% if (theme.local_search.enable) { %>
|
|
<%- partial('_partial/local-search') %>
|
|
<% } %>
|