fix sidebar
This commit is contained in:
parent
f01b09460e
commit
ddb0008a7a
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
|||
<nav>
|
||||
<a href='/' {%- if page.title == "Home" %} class='current'{% endif -%}>Home</a>
|
||||
{%- for html_page in site.content -%}
|
||||
{%- unless html_page.url == '/index' -%}
|
||||
{%- unless html_page.title == 'Home' -%}
|
||||
<a href='{{ html_page.url }}' {%- if page.title == html_page.title %} class='current'{% endif -%}>
|
||||
{{ html_page.title }}
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue