🎨 fix: styles

This commit is contained in:
shenyu
2020-05-03 09:53:04 +08:00
parent 7bf0adfd98
commit 4f386df7ee
3 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
<h1 class="page-type-title"><%= __('categories') %></h1>
<!-- <%- list_categories({show_count: theme.show_count}) %> -->
<ul class="category-list">
<% site.categories.sort('name').each(function(item){ %>
<% site.categories.map(function(item){ %>
<% if(item.posts.length){ %>
<a class="category-list-link" href="<%- config.root %><%- item.path %>" title="<%= item.name %>">
<li class="category-list-item">