14 lines
497 B
JavaScript
14 lines
497 B
JavaScript
<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> |