hexo-theme-ayer/layout/_partial/archive-post.ejs
2019-12-03 19:37:44 +08:00

14 lines
497 B
Plaintext

<article class="archive-article archive-type-<%= post.layout %>">
<div class="archive-article-inner">
<header class="archive-article-header">
<%- partial('post/date', {class_name: 'archive-article-date', date_format: 'MM/DD'}) %>
<%- partial('post/title', {class_name: 'archive-article-title'}) %>
</header>
<% if(page.category){ %>
<%- partial('post/category') %>
<% } %>
<% if(page.tag){ %>
<%- partial('post/tag') %>
<% } %>
</div>
</article>