<% if (has_thumbnail(post)) { %>
<%- index ? ' class="image is-7by1"> <%= post.title %> <%- index ? '' : '' %>
<% } %>
<% if (post.layout != 'page') { %> <% } %>

<% if (index) { %> <%= post.title %> <% } else { %> <%= post.title %> <% } %>

<%- index && post.excerpt ? post.excerpt : post.content %>
<% if (!index && (has_config('plugins.visit') ? get_config('plugins.visit') : false)) { %>
  0
<% } %> <% if (!index && post.tags && post.tags.length) { %>
# <%- list_tags(post.tags, { class: 'has-link-grey ', show_count: false, style: 'link' }) %>
<% } %> <% if (index && post.excerpt) { %> <% } %> <% if (!index && has_config('share.type')) { %> <%- partial('share/' + get_config('share.type')) %> <% } %>
<% const services = has_config('donate') ? get_config('donate') : []; %> <% if (!index && services.length > 0) { %>
<% for (let service of services) { const type = get_config_from_obj(service, 'type'); if (type !== null) { %> <%- partial('donate/' + type, { type, service }) %> <% } } %>
<% } %> <% if (!index && (post.prev || post.next)) { %>
<% if (post.prev){ %> <% } %> <% if (post.next){ %> <% } %>
<% } %> <% if (!index && has_config('comment.type')) { %>

<%= __('article.comments') %>

<%- partial('comment/' + get_config('comment.type')) %>
<% } %>