fix header nav highlight

This commit is contained in:
afc163 2015-07-29 17:25:45 +08:00
parent a671778b03
commit e2d8ad16cd

View File

@ -95,7 +95,7 @@
<li class="{%- if post.directory|rootDirectoryIs('docs') %}current{%- endif %}">
<a href="/docs/introduce">使用</a>
</li>
<li class="{%- if post.directory|rootDirectoryIs('design') %}current{%- endif %}">
<li class="{%- if post.directory|rootDirectoryIs('spec') %}current{%- endif %}">
<a href="/spec/font">设计</a>
</li>
<li class="{%- if post.directory|rootDirectoryIs('components') %}current{%- endif %}">