2020-04-01 12:09:06 +08:00
|
|
|
<div class="article-content-container">
|
2020-04-28 23:20:17 +08:00
|
|
|
|
2020-04-01 12:09:06 +08:00
|
|
|
<div class="article-title">
|
2020-04-07 11:57:53 +08:00
|
|
|
<h3><a class="title-hover-animation"><%= page.title %></a></h3>
|
2020-04-01 12:09:06 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="meta-info">
|
|
|
|
<%- partial('_partial/article-meta-info', {articleObject: page, index: true}) %>
|
|
|
|
</div>
|
|
|
|
|
2020-04-03 18:18:42 +08:00
|
|
|
<div class="article-content markdown-body">
|
2020-04-01 12:09:06 +08:00
|
|
|
<%- page.content %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="article-nav">
|
|
|
|
<% if (page.prev) { %>
|
|
|
|
<div class="article-prev">
|
|
|
|
<a class="prev btn" rel="prev"
|
|
|
|
href="<%= url_for(page.prev.path) %>"><i class="fa fa-chevron-left"></i> <%= page.prev.title %>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
|
|
|
<% if (page.next) { %>
|
|
|
|
<div class="article-next">
|
|
|
|
<a class="next btn" rel="next"
|
|
|
|
href="<%= url_for(page.next.path) %>"><%= page.next.title %> <i class="fa fa-chevron-right"></i>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="comment-container">
|
2020-04-14 21:18:37 +08:00
|
|
|
<%- partial('_partial/comments/comment') %>
|
2020-04-01 12:09:06 +08:00
|
|
|
</div>
|
2020-04-28 23:20:17 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<% if ( (theme.magic.enable && !theme.magic.sidebar.enable && theme.toc.enable) || (!theme.magic.enable && theme.toc.enable)) { %>
|
|
|
|
<div class="article-toc-container">
|
|
|
|
<%- partial('_partial/sidebar-toc') %>
|
|
|
|
</div>
|
|
|
|
<% } %>
|