forked from aweekj/kiko-now
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnav.html
24 lines (22 loc) · 778 Bytes
/
nav.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div class="wrapper-masthead">
<div class="container">
<header class="masthead clearfix">
{% if site.avatar %}
<a href="{{ site.baseurl }}/" class="site-avatar"><img src="{{ site.avatar }}" /></a>
{% endif %}
<div class="site-info">
<h1 class="site-name"><a href="{{ site.baseurl }}/">{{ site.name }}</a></h1>
<p class="site-description">{{ site.description }}</p>
</div>
<nav>
{% for nav in site.navigation %}
{% if nav.url contains 'http://' or nav.url contains 'https://' %}
<a href="{{ nav.url }}">{{ nav.name }}</a>
{% else %}
<a href="{{ site.baseurl }}{{ nav.url }}">{{ nav.name }}</a>
{% endif %}
{% endfor %}
</nav>
</header>
</div>
</div>