mirror of
https://github.com/SouthFox-D/SouthFox-D.github.io.git
synced 2024-12-11 07:14:28 +01:00
10 lines
346 B
Text
10 lines
346 B
Text
|
<% 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="<%- url_for('./') %><%- item.path %>"><%= item.name %><span><%= item.posts.length %></span></a></li>
|
||
|
<% }); %>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<% } %>
|