Browse Source

fix aside show

pull/16/head
afc163 10 years ago
parent
commit
1c15c225de
  1. 2
      site/templates/component-aside.html
  2. 2
      static/style.css

2
site/templates/component-aside.html

@ -5,7 +5,7 @@
{%- set items = resource.pages|find_category(category) %}
<li>
<h4>{{category}}</h4>
<ul >
<ul class="{%- if category === post.meta.category %}aside-list-show{%- endif %}">
{%- for item in items %}
<li class="{%- if item.title === post.title %}current{%- endif %}">
<a href="{{permalink_url(item)}}">

2
static/style.css

@ -464,7 +464,7 @@ footer ul li > a {
display: none;
}
.aside-container li>ul.show {
.aside-container li>ul.aside-list-show {
display: block;
}

Loading…
Cancel
Save