Commit db17b65a authored by felix.herrmann's avatar felix.herrmann
Browse files

fix(sidebar): use slugurl instead of url for link to documentation. Fixes #52

parent b67b3cdb
{% load static i18n compress activeurl core_tags %}
{% load static i18n compress activeurl core_tags wagtailcore_tags %}
<nav class="col-md-2 d-none d-md-block sidebar">
<div class="sidebar-sticky">
......@@ -41,13 +41,13 @@
</a>
</li>
{% endif %}
<li class="nav-item {% nav_active request.path "/users/public" %}">
<li class="nav-item {% nav_active request.path "/users/" %}">
<a class="nav-link i i-people" href="{% url 'ddusers:search' %}">
{% trans "People" %}
</a>
</li>
<li class="nav-item {% nav_active request.path "/documentation" %}">
<a class="nav-link i i-ds-upload" href="/documentation">
<a class="nav-link i i-ds-upload" href="{% slugurl 'discuss-data-documentation' %}">
{% trans "Documentation" %}
</a>
</li>
......
Markdown is supported
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