File tree Expand file tree Collapse file tree 5 files changed +12
-5
lines changed
Expand file tree Collapse file tree 5 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ index_widgets:
8282
8383# widget behavior
8484archive_type : ' monthly'
85+ # 分类是否显示文章数量
8586show_count : false
8687
8788# 标签云TagClound
Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ index_widgets:
4545
4646# widget behavior
4747archive_type : ' monthly'
48- show_count : false
48+ # 分类是否显示文章数量
49+ show_count : true
4950
5051# 标签云TagClound
5152# 如果启动,则标签云颜色为随机
Original file line number Diff line number Diff line change 11<% if (category || index && site .categories .length ){ % >
22 < div class = " widget-wrap" >
33 < h3 class = " widget-title categories" >< %= __ (' categories' ) % >< / h3>
4- < div class = " widget" >
5- < %- list_categories ({show_count: theme .show_count }) % >
4+ < div class = " widget" id = " categories " >
5+ < %- list_categories ({show_count: theme .show_count ,depth : 2 }) % >
66 < / div>
77 < / div>
88< % } %>
Original file line number Diff line number Diff line change 4444 ul , ol , dl
4545 ul , ol , dl
4646 margin-left : 15px
47- list-style : disc
47+ // list-style: disc
48+ #categories
49+ ul .category-list-child li > a :before
50+ content : "\f0da"
51+ @extend $widget-block
52+ color :color-grey
Original file line number Diff line number Diff line change 1414 ul , ol
1515 margin : 0 20px
1616 ul
17- list-style : disc
17+ // list-style: disc
1818 ol
1919 list-style : decimal
2020
You can’t perform that action at this time.
0 commit comments