Fixing oops
This commit is contained in:
parent
4ced81a76c
commit
1ae01aff22
1 changed files with 11 additions and 0 deletions
|
@ -38,6 +38,17 @@
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% for link in site.navigation %}
|
||||||
|
{% assign current = nil %}
|
||||||
|
{% if page.url == link.url %}
|
||||||
|
{% assign current = 'current' %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<li style="list-style: none;" class="nav-list-item{% if forloop.first %}first{% endif %} {{ current }} {% if forloop.last %}nav-list-item-last{% endif %}">
|
||||||
|
<a class="{{ current }}" href="{{ link.url }}">{{ link.text }}</a>
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue