You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
369 B
8 lines
369 B
6 years ago
|
<% if (site.categories.length){ %>
|
||
|
<ul class="entry">
|
||
|
<% site.categories.sort('name').each(function(category){ %>
|
||
|
<li><a class="flat-box" title="<%- url_for(category.path) %>" href="<%- url_for(category.path) %>"><div class='name'><%- category.name %></div><div class='badge'>(共<%- category.posts.length %>篇)</div></a></li>
|
||
|
<% }) %>
|
||
|
</ul>
|
||
|
<% } %>
|