This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
mystic/themes/hueman/layout/common/summary.ejs

23 lines
995 B
Plaintext
Raw Normal View History

2018-09-03 07:41:16 +00:00
<article class="article article-summary<%= (post.direction && post.direction.toLowerCase() === 'rtl' ? ' rtl' : '') %>">
<div class="article-summary-inner">
<% if (theme.customize.thumbnail === true) { %>
<%- partial('common/thumbnail', { counter: true }) %>
<% } %>
<div class="article-meta">
<div class="category">
<%- list_categories(post.categories, {
depth:2,
style: 'none',
show_count: false,
class: 'article-category',
separator: '<i class="icon fa fa-angle-right"></i>',
}) %>
</div>
<div class="date"><time datetime="<%= date_xml(post.date) %>" itemprop="datePublished"><%= date(post.date) %></time></div>
</div>
<%- partial('post/title', { class_name: 'article-title', linkable: true }) %>
<p class="article-excerpt">
<%- excerpt(post) %>
</p>
</div>
</article>