changed the name of the navbar item for home
This commit is contained in:
parent
7eda3e8c51
commit
918dcc7e01
@ -1,6 +1,6 @@
|
||||
list:
|
||||
- title: "~"
|
||||
url: /
|
||||
url: /index.html
|
||||
- title: ~/blog
|
||||
url: /blog/
|
||||
- title: ~/doc/about
|
||||
|
@ -1,5 +1,5 @@
|
||||
<nav>
|
||||
{% for item in site.data.nav.list %}
|
||||
<a href="{{site.baseurl}}{{item.url}}"{% if item.url == page.url %} class="a-active" {% endif %}>{{item.title}}</a>
|
||||
<a href="{{site.baseurl}}{{item.url}}"{% if page.url contains item.url %} class="a-active" {% endif %}>{{item.title}}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
|
Loading…
Reference in New Issue
Block a user