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

10 lines
258 B
Plaintext

<% if (post.categories && post.categories.length){ %>
<div class="article-category">
<%- list_categories(post.categories, {
show_count: false,
class: 'article-category',
style: 'none',
separator: ' / '
}) %>
</div>
<% } %>