- <% if (post.layout != 'page') { %>
-
-
-
- <% if (post.categories && post.categories.length) { %>
-
- <%- list_categories(post.categories, {
- class: 'has-link-grey ',
- show_count: false,
- style: 'none',
- separator: ' / '
- }) %>
-
- <% } %>
- <% if (!has_config('article.readtime') || get_config('article.readtime') === true) { %>
-
- <% const words = word_count(post._content); %>
- <% const time = duration((words / 150.0) * 60, 'seconds') %>
- <%= `${ time.locale(get_config('language', 'en')).humanize() } ${ __('article.read')} (${ __('article.about') } ${ words } ${ __('article.words') })` %>
-
- <% } %>
- <% if (!index && (has_config('plugins.busuanzi') ? get_config('plugins.busuanzi') : false)) { %>
-
-
- <%- _p('plugin.visit', '0') %>
-
- <% } %>
-
-
- <% } %>
-
- <% if (index) { %>
- <%= post.title %>
- <% } else { %>
- <%= post.title %>
- <% } %>
-
-
- <%- index && post.excerpt ? post.excerpt : post.content %>
-
- <% 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')) %>
- <% } %>
-