blob: 19f852631e3a33ec56c739d129bb82ef09c8b979 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<% if (site.categories.length){ %>
<div class="widget">
<h4><%= __('categories') %></h4>
<ul class="tag_box inline list-unstyled">
<% site.categories.sort('name').each(function(item){ %>
<li><a href="<%- config.root %><%- item.path %>"><%= item.name %><span><%= item.posts.length %></span></a></li>
<% }); %>
</ul>
</div>
<% } %>
|