Put the links on the left

This commit is contained in:
Oliver Davies 2015-05-28 17:54:43 +01:00
parent f5a09ec8b7
commit 30b702fa00

View file

@ -23,7 +23,6 @@
{% block styles %}{% endblock %} {% block styles %}{% endblock %}
</head> </head>
<body{% if page.body_class %} class="{{ page.body_class }}"{% endif %}> <body{% if page.body_class %} class="{{ page.body_class }}"{% endif %}>
<nav class="navbar navbar-inverse navbar-fixed-top"> <nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container"> <div class="container">
<div class="navbar-header"> <div class="navbar-header">
@ -37,7 +36,7 @@
</div> </div>
<div id="navbar" class="collapse navbar-collapse"> <div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right" role="navigation"> <ul class="nav navbar-nav" role="navigation">
<li{% if page.nav == 'about' %} class="active"{% endif %}><a href="{{ site.url }}">About</a></li> <li{% if page.nav == 'about' %} class="active"{% endif %}><a href="{{ site.url }}">About</a></li>
{% for item in [ 'work', 'services', 'talks', 'blog', 'contact' ] %} {% 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> <li{% if page.nav == item %} class="active"{% endif %}><a href="{{ site.url }}/{{ item }}">{{ item|title }}</a></li>