hexo-theme-keep/layout/category-post.ejs

10 lines
394 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--
is_category() 检查当前页面是否为分类归档页面。
如果给定一个字符串作为参数,将会检查目前是否为指定分类。
-->
<% if (is_category()) { %>
<div class="category-container">
<div class="category-name"><%- __('category') %><%= page.category %> [共<%= page.posts.length %>篇]</div>
</div>
<%- partial('archive-post') %>
<% } %>