去掉show导至的收起不隐藏。

This commit is contained in:
罗宪 2015-06-10 11:10:09 +08:00
parent c3a8b5c39f
commit 41b37107a3

View File

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