mirror of
https://github.com/SouthFox-D/SouthFox-D.github.io.git
synced 2024-11-25 08:26:51 +01:00
10 lines
No EOL
346 B
Text
10 lines
No EOL
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>
|
|
<% } %> |