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.
11 lines
416 B
11 lines
416 B
<% if (post.categories && post.categories.length && post.categories.forEach){ %> |
|
<% |
|
var cats = []; |
|
post.categories.forEach(function(cat){ |
|
cats.push('<a class="categories" href="'+url_for(cat.path)+'">' + cat.name + '</a>'); |
|
}); |
|
%> |
|
<div class='metatag cats'> |
|
<i class="fas fa-folder-open fa-fw" aria-hidden="true"></i> <%- cats.join(' / ') %> |
|
</div> |
|
<% } %>
|
|
|