beautifulSA-jekyll/_includes/nav.html
2015-03-02 12:06:05 -08:00

34 lines
1.0 KiB
HTML

<nav class="navbar navbar-default navbar-fixed-top navbar-custom">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ site.url }}">{{ site.title }}</a>
</div>
<div class="collapse navbar-collapse" id="main-navbar">
<ul class="nav navbar-nav navbar-right">
{% for link in site.navbar-links %}
<li>
<a href="{{ site.baseurl }}/{{ link[1] }}">{{ link[0] }}</a>
</li>
{% endfor %}
</ul>
</div>
{% if site.avatar %}
<div class="avatar-container">
<div class="avatar-img-border">
<a href="{{ site.url }} ">
<img class="avatar-img" src="{{ site.avatar | prepend: site.baseurl | replace: '//', '/' }}" />
</a>
</div>
</div>
{% endif %}
</div>
</nav>