_includes/navigation.html in simport-1.5.0 vs _includes/navigation.html in simport-1.6.0
- old
+ new
@@ -1,21 +1,16 @@
-<nav>
- <nav>
- <div id="logo" class="left">
- <a href="{{ '/' | relative_url }}">
- <button class="nav-button left" type="button">
- {% include logo.html %}
- </button>
- </a>
- </div>
- <div id="navbar-navigation" class="right">
- {% assign sorted = site.data.navigation | reverse %}
- {% for item in sorted %}
- <a href="{{ item.link | relative_url }}">
- <button class="nav-button right" type="button">
- <span>{{item.name}}</span>
- </button>
- </a>
- {% endfor %}
- </div>
- </nav>
-</nav>
+<div id="logo">
+ <a href="{{ '/' | relative_url }}">
+ <button class="nav-button left" type="button">
+ {% include logo.html %}
+ </button>
+ </a>
+</div>
+<div id="navbar-navigation">
+ {% for item in site.data.navigation %}
+ <a class="nav-item" href="{{ item.link | relative_url }}">
+ <button class="nav-button" type="button">
+ <span>{{item.name}}</span>
+ </button>
+ </a>
+ {% endfor %}
+</div>
\ No newline at end of file