hexo-theme-amane/layout/common/summary.ejs

23 lines
920 B
Plaintext

<article class="archive-article archive-type-summary">
<% if(theme.customize.thumbnail == true) { %>
<div class="archive-article-thumbnail">
<%- partial('thumbnail.ejs', { post: post }) %>
</div>
<% } %>
<div class="archive-article-content">
<header class="archive-article-header">
<%- partial('post/title', { class_name: 'archive-article-title' }) %>
<div class="article-meta">
<%- partial('post/date', { class_name: 'article-date', date_format: null }) %>
<%- partial('post/category') %>
<%- partial('post/tag') %>
</div>
</header>
<div class="article-entry">
<p><%- excerpt(post) %></p>
<p class="article-more-link">
<a href="<%- url_for(post.path) %>#more"><%= __('article.more') %></a>
</p>
</div>
</div>
</article>