_includes/navbar.html in ovh-jekyll-doc-theme-0.1.7 vs _includes/navbar.html in ovh-jekyll-doc-theme-0.1.8

- old
+ new

@@ -15,11 +15,11 @@ id="navbar-entries"> <span class="navbar__title hidden-xs hidden-sm">{{site.data.nav.title}}</span> {% for navEntry in pages %} <li class="navbar__entry"> <a class="navbar__link navbar__link--lvl-1" - href="{{navEntry.url}}"> + href="{{site.baseurl}}{{navEntry.url}}"> {% if navEntry.subnav[0] %} {% if navEntry.url == page.url %} <i class="navbar__link-chevron oui-icon oui-icon-chevron-down" aria-hidden="true"></i> {% else %} @@ -37,10 +37,10 @@ {% if navEntry.subnav[0] %} <ul class="navbar__subentries {% if navEntry.url == page.url %}navbar__subentries--active{% endif %}"> {% for subentry in navEntry.subnav %} <li class="navbar__entry"> <a class="navbar__link navbar__link--lvl-2" - href="{{subentry.url}}"> + href="{{site.baseurl}}{{subentry.url}}"> <span>{{subentry.name}}</span> </a> </li> {% endfor %} </ul>