blob: f14b88fac1658154e771999566e1e5694df94b2b (
plain)
1
2
3
4
5
6
7
8
9
|
<%
var cats = [];
item.categories.forEach(function(cat){
cats.push('<li><a href="' + config.root + cat.path + '">' + cat.name + '<span>' + cat.length + '</span></a></li>');
});
%>
<li>
<%- cats.join(' ') %>
</li>
|