hexo-theme-keep/layout/article-content.ejs

44 lines
1.6 KiB
Plaintext
Raw Normal View History

2020-04-30 00:34:31 +08:00
<div class="fade-in-down-animation">
<div class="article-content-container">
2020-04-28 23:20:17 +08:00
2020-04-30 00:34:31 +08:00
<div class="article-title">
<h3><a class="title-hover-animation"><%= page.title %></a></h3>
</div>
2020-04-01 12:09:06 +08:00
2020-04-30 00:34:31 +08:00
<div class="meta-info">
<%- partial('_partial/article-meta-info', {articleObject: page, index: true}) %>
</div>
2020-04-01 12:09:06 +08:00
2020-04-30 00:34:31 +08:00
<div class="article-content markdown-body">
<%- page.content %>
</div>
2020-04-01 12:09:06 +08:00
2020-04-30 00:34:31 +08:00
<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> <span class="post-nav-title-item"><%= page.prev.title %></span><span class="post-nav-item"><%= __('prev_posts') %></span>
2020-04-30 00:34:31 +08:00
</a>
</div>
<% } %>
<% if (page.next) { %>
<div class="article-next">
<a class="next btn"
rel="next"
href="<%= url_for(page.next.path) %>"
>
<span class="post-nav-title-item"><%= page.next.title %></span><span class="post-nav-item"><%= __('next_posts') %></span> <i class="fa fa-chevron-right"></i>
2020-04-30 00:34:31 +08:00
</a>
</div>
<% } %>
</div>
2020-04-01 12:09:06 +08:00
2020-04-30 00:34:31 +08:00
<div class="comment-container">
<%- partial('_partial/comments/comment') %>
</div>
2020-04-01 12:09:06 +08:00
</div>
2020-04-28 23:20:17 +08:00
</div>