fix sidebar

This commit is contained in:
Lynne Megido 2021-05-02 19:17:39 +10:00
parent f01b09460e
commit ddb0008a7a
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90

View file

@ -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>