_includes/site-nav.html in garth-jekyll-theme-0.5.0 vs _includes/site-nav.html in garth-jekyll-theme-1.0.0

- old
+ new

@@ -3,12 +3,12 @@ {% for item in site.pages %} {% unless item.title == false or item.url contains "/page" or item.url contains "/404.html" or item.url contains "/feed." %} <li class="item item--nav{% if item.url == page.url %} item--current{% endif %}"> {% if item.collectionpage %} {% assign collectiondata = site.collections | where: "label", item.collectionpage | first %} - <a href="{{ item.url }}">{{ collectiondata.title }}</a> + <a href="{{ site.baseurl }}{{ item.url }}">{{ collectiondata.title }}</a> {% else %} - <a href="{{ item.url }}">{{ item.title }}</a> + <a href="{{ site.baseurl }}{{ item.url }}">{{ item.title }}</a> {% endif %} </li> {% endunless %} {% endfor %} </ul>