Commit d4d382eb authored by Hiro's avatar Hiro 🏄
Browse files

Use relative links in navbar

parent ab7c6904
......@@ -15,7 +15,7 @@
{% set menubag = 'menu+' + this.alt %}
{% for id, item in bag(menubag).items() %}
<li{% if this.is_child_of(item.path) %} class="nav-item active" {% else %} class="nav-item"{% endif %}>
<a class="nav-link" href="{{ item.path }}">{{ item.label }}
<a class="nav-link" href="{{ item.path|url }}">{{ item.label }}
{% if this.is_child_of(item.path) %}
<span class="sr-only">(current)</span>
{% endif %}
......@@ -28,5 +28,3 @@
</div>
</nav>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment