34 lines
959 B
Plaintext
34 lines
959 B
Plaintext
<div class="page-template">
|
|
<div class="page-top">
|
|
<%- partial('_partial/header') %>
|
|
</div>
|
|
<div class="page-middle">
|
|
<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>
|
|
<div class="sidebar-tools">
|
|
<%- partial('_partial/tools') %>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="page-bottom">
|
|
<%- partial('_partial/footer') %>
|
|
</div>
|
|
</div> |