This commit is contained in:
Oliver Davies 2015-04-13 08:47:37 +01:00
parent 88878b6433
commit ff81078e94

View file

@ -12,8 +12,7 @@
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right" role="navigation">
<li{% if page.nav == 'about' %} class="active"{% endif %}><a href="{{ site.url }}">About</a></li>
{% set items = { 0: 'work', 1: 'services', 2: 'talks', 3: 'blog', 4: 'contact' } %}
{% for item in items %}
{% for item in { 0: 'work', 1: 'services', 2: 'talks', 3: 'blog', 4: 'contact' } %}
<li{% if page.nav == item %} class="active"{% endif %}><a href="{{ site.url }}/{{ item }}">{{ item|title }}</a></li>
{% endfor %}
</ul>