_includes/navigation.html in simport-1.0.0 vs _includes/navigation.html in simport-1.1.0
- old
+ new
@@ -1,17 +1,17 @@
<nav>
<nav>
<div id="logo" class="left">
- <a href="/">
+ <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}}'>
+ <a href="{{ item.link | relative_url }}">
<button class="nav-button right" type="button">
<span>{{item.name}}</span>
</button>
</a>
{% endfor %}
\ No newline at end of file