_includes/header.html in jekyll-sleek-0.1.5 vs _includes/header.html in jekyll-sleek-0.1.6
- old
+ new
@@ -6,14 +6,14 @@
{% include logo.svg %}
</div>
</a>
<nav class="header__links">
<div class="container header__links-wrapper">
- <a class="header__link" href="{{ '/' | relative_url }}" itemprop="url"><span itemprop="name">Home</span></a>
- <a class="header__link" href="{{ '/about' | relative_url }}" itemprop="url"><span itemprop="name">About</span></a>
- <a class="header__link" href="{{ '/contact' | relative_url }}" itemprop="url">
- <span itemprop="name">Contact</span>
- </a>
+ {% for item in site.navigation %}
+ <a class="header__link" href="{{ item.link | relative_url }}" itemprop="url">
+ <span itemprop="name">{{ item.name }}</span>
+ </a>
+ {% endfor %}
</div>
</nav>
<div class="header__toggle">
<span></span>
<span></span>