List each item individually
This commit is contained in:
parent
4f006b084c
commit
9056f3d1c9
|
@ -12,10 +12,12 @@
|
|||
|
||||
<div id="navbar" class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li{% if page.nav == 'about' %} class="active"{% endif %}><a href="{{ site.url }}">About</a></li>
|
||||
{% for item in [ 'work', 'services', 'talks', 'blog', 'contact' ] %}
|
||||
<li{% if page.nav == item %} class="active"{% endif %}><a href="{{ site.url }}/{{ item }}">{{ item|title }}</a></li>
|
||||
{% endfor %}
|
||||
<li class="nav__about"><a href="/">About</a></li>
|
||||
<li class="nav__work"><a href="/work/">Work</a></li>
|
||||
<li class="nav__services"><a href="/services/">Services</a></li>
|
||||
<li class="nav__talks"><a href="/talks/">Talks</a></li>
|
||||
<li class="nav__blog"><a href="/blog/">Blog</a></li>
|
||||
<li class="nav__contact"><a href="/contact/">Contact</a></li>
|
||||
</ul>
|
||||
</div>{# .nav-collapse #}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue