_includes/header.html in jekyll-theory-0.1.8 vs _includes/header.html in jekyll-theory-0.1.9
- old
+ new
@@ -1,13 +1,14 @@
<!-- Header -->
<header id="header">
<div class="inner">
<a href="{{ site.baseurl }}/" class="logo">{{ site.title }}</a>
<nav id="nav">
- <a href="{{ site.baseurl }}/">Home</a>
- <a href="{{ site.baseurl }}/blog">Blog</a>
- <a href="{{ site.baseurl }}/contact">Contact</a>
- <a href="{{ site.baseurl }}/elements">Elements</a>
+ {% for menu in site.data.menus %}
+ <a href="{{ site.baseurl }}{{ menu.url }}">
+ {{ menu.name }}
+ </a>
+ {% endfor %}
</nav>
<a href="#navPanel" class="navPanelToggle"><span class="fa fa-bars"></span></a>
</div>
</header>
\ No newline at end of file