hexo/node_modules/hexo-theme-fluid/layout/_partials/post/meta-bottom.ejs

17 lines
590 B
Plaintext
Raw Normal View History

2023-09-25 15:58:56 +08:00
<div class="post-metas my-3">
<% if (page.categories && page.categories.length > 0) { %>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<%- partial('_partials/category-chains', { categories: page.categories }) %>
</div>
<% } %>
<% if (page.tags && page.tags.length > 0 ) { %>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<% page.tags.each(function(tag) { %>
<a href="<%= url_for(tag.path) %>" class="print-no-link">#<%- tag.name %></a>
<% }) %>
</div>
<% } %>
</div>