diff --git a/themes/zilan/layout/_widget/category.ejs b/themes/zilan/layout/_widget/category.ejs index 54d8b0a..d505958 100644 --- a/themes/zilan/layout/_widget/category.ejs +++ b/themes/zilan/layout/_widget/category.ejs @@ -5,13 +5,13 @@
CATEGORORY
<% if (site.categories && site.categories.length){ %>
- <%- list_categories(site.categories, { - show_count: true, - class: 'category-list', - style: 'none', - separator: '►', - depth: 2 - }) %> + <%- list_categories(site.categories, { + orderby: 'name', + show_count: true, + class: 'category', + style: 'list', + depth: 3 + }) %>
<% } %> diff --git a/themes/zilan/source/css/widget.styl b/themes/zilan/source/css/widget.styl index 9932628..0541459 100644 --- a/themes/zilan/source/css/widget.styl +++ b/themes/zilan/source/css/widget.styl @@ -32,9 +32,4 @@ max-height: 200px max-width: 200px -#categories - ul.category-list-child li >a:before - content: "\f0da" - font-family: font-icon - padding-right: 4px - color:color-grey \ No newline at end of file +// #categories \ No newline at end of file