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

10 lines
379 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_tag() 检查当前页面是否为标签归档页面。
is_tag('hobby') 如果给定一个字符串作为参数,将会检查目前是否为指定标签。
-->
<% if (is_tag()) { %>
<div class="tag-container">
<div class="tag-name"><%- __('tag') %><%= page.tag %> [共<%= page.posts.length %>篇]</div>
</div>
<%- partial('archive-post') %>
<% } %>