kb: fix breadcrumb of "new page"

This commit is contained in:
Frédéric Péters 2015-10-29 10:24:12 +01:00
parent 5376f1553f
commit 789de4a459
1 changed files with 2 additions and 0 deletions

View File

@ -10,7 +10,9 @@
{% block breadcrumb %}
{{ block.super }}
{% if object %}
<a href="{% url 'kb-page-view' slug=object.slug %}">{{object.title}}</a>
{% endif %}
{% endblock %}
{% block content %}