summaryrefslogtreecommitdiff
path: root/docs/templates
diff options
context:
space:
mode:
Diffstat (limited to 'docs/templates')
-rw-r--r--docs/templates/docs/doc.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/templates/docs/doc.html b/docs/templates/docs/doc.html
index 73655fd4..87952e27 100644
--- a/docs/templates/docs/doc.html
+++ b/docs/templates/docs/doc.html
@@ -166,11 +166,11 @@
<ul>
<li>
<a href="{% url 'document-index' lang=lang version=version host 'docs' %}">{% blocktranslate %}Django {{ version }} documentation{% endblocktranslate %}</a>
- {% for p in doc.parents %}
- <ul><li><a href="{{ p.link }}">{{ p.title|safe }}</a>
+ {% for p in doc.breadcrumbs %}
+ <ul><li><a href="{% url 'document-detail' lang=lang version=version url=p.path host 'docs' %}">{{ p.title|safe }}</a>
{% endfor %}
<ul><li>{% block current-page-title %}{{ doc.title|safe }}{% endblock %}</li></ul>
- {% for p in doc.parents %}</li></ul>{% endfor %}
+ {% for p in doc.breadcrumbs %}</li></ul>{% endfor %}
</li>
</ul>
</nav>