2020-03-14 16:17:04 +08:00
|
|
|
<div class="right-side-container">
|
|
|
|
<div class="nav-container">
|
|
|
|
<%- partial('common/nav') %>
|
|
|
|
</div>
|
|
|
|
<div class="article-post-container">
|
2020-03-18 23:14:09 +08:00
|
|
|
<% if (is_home()) { %>
|
|
|
|
<!-- 载入首页的内容 -->
|
|
|
|
<%- partial('common/home-post') %>
|
|
|
|
|
|
|
|
<% } else if (is_archive()) { %>
|
|
|
|
<!-- 载入归档页面的内容 -->
|
2020-03-15 17:39:18 +08:00
|
|
|
<%- partial('common/archive-post') %>
|
2020-03-18 23:14:09 +08:00
|
|
|
|
|
|
|
<% } else if (is_post()) { %>
|
|
|
|
<!-- 载入文章页面的内容 -->
|
2020-03-15 17:39:18 +08:00
|
|
|
<%- partial('common/article-post') %>
|
2020-03-18 23:14:09 +08:00
|
|
|
|
|
|
|
<% } else if (is_category()) { %>
|
|
|
|
<!-- 载入分类页面的内容 -->
|
|
|
|
<%- partial('common/category-post') %>
|
|
|
|
|
|
|
|
<% } else if (is_tag()) { %>
|
|
|
|
<!-- 载入标签页面的内容 -->
|
|
|
|
<%- partial('common/tag-post') %>
|
2020-03-19 18:11:13 +08:00
|
|
|
|
|
|
|
<% } else if (page.title == 'about') { %>
|
|
|
|
<!-- 载入关于页面的内容 -->
|
|
|
|
<%- partial('common/about') %>
|
2020-03-15 17:39:18 +08:00
|
|
|
<% } %>
|
2020-03-14 16:17:04 +08:00
|
|
|
</div>
|
|
|
|
</div>
|