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.
|
|
|
<% if (post.categories && post.categories.length && post.categories.forEach){ %>
|
|
|
|
<%
|
|
|
|
var cats = [];
|
|
|
|
var path;
|
|
|
|
post.categories.forEach(function(cat){
|
|
|
|
cats.push(cat.name);
|
|
|
|
path = cat.path;
|
|
|
|
});
|
|
|
|
%>
|
|
|
|
<div class='new-meta-item category'>
|
|
|
|
<a href='<%- url_for(path) %>' rel="nofollow">
|
|
|
|
<i class="<%- theme.meta.category.icon %>" aria-hidden="true"></i>
|
|
|
|
<p><%- cats.join(' / ') %></p>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<% } %>
|