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"> <nav class="col-md-2 d-none d-md-block sidebar">
<div class="sidebar-sticky"> <div class="sidebar-sticky">
...@@ -41,13 +41,13 @@ ...@@ -41,13 +41,13 @@
</a> </a>
</li> </li>
{% endif %} {% 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' %}"> <a class="nav-link i i-people" href="{% url 'ddusers:search' %}">
{% trans "People" %} {% trans "People" %}
</a> </a>
</li> </li>
<li class="nav-item {% nav_active request.path "/documentation" %}"> <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" %} {% trans "Documentation" %}
</a> </a>
</li> </li>
......
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