Skip to content

Commit f501976

Browse files
author
SuYan
committed
change UI of aside
1 parent 11f10c9 commit f501976

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_includes/aside.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<div class="panel-heading">
55
<h2 class="panel-title">分类</h2>
66
</div>
7-
<div class="panel-body">
7+
<ul class="list-group">
88
{% for category in site.categories %}
9-
<li><a href="/pages/categories.html#{{ category | first }}">{{ category | first }}</a> ({{ category | last | size }})</li>
9+
<a class="list-group-item" href="/pages/categories.html#{{ category | first }}">{{ category | first }} <span class="badge">{{ category | last | size }}</span></a>
1010
{% endfor %}
11-
</div>
11+
</ul>
1212
</div>
1313
<div class="panel panel-success">
1414
<div class="panel-heading">

0 commit comments

Comments
 (0)