hexo-theme-keep/layout/page.ejs

43 lines
1.2 KiB
Plaintext
Raw Normal View History

<div class="page-template">
<div class="page-top">
<%- partial('_partial/header') %>
</div>
2020-04-02 22:07:55 +08:00
<div class="page-middle">
2020-04-03 18:18:42 +08:00
<main class="main-content normal-code-theme">
2020-04-01 12:09:06 +08:00
<% 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>
<div class="sidebar-tools">
<%- partial('_partial/tools') %>
</div>
2020-04-05 00:42:07 +08:00
<div class="scroll-to-top">
<span class="scroll-to-top-value"></span>
<button><i class="fa fa-caret-up"></i></button>
</div>
</div>
<div class="page-bottom">
<%- partial('_partial/footer') %>
</div>
2020-04-02 22:07:55 +08:00
</div>
<% if (theme.local_search.enable) { %>
<%- partial('_partial/local-search') %>
<% } %>