Skip to content
This repository was archived by the owner on May 19, 2021. It is now read-only.

Commit adc7643

Browse files
committed
topic.html: Breadcrumb
1 parent e78dce9 commit adc7643

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

inyoka_theme_default/templates/forum/topic.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
{% block breadcrumb %}
2727
{{ super() }}
2828

29-
{% if topic.forum.parent.parent %}
30-
{{ macros.breadcrumb_item('…') }}
31-
{% endif %}
29+
{% for parent in forum.parents|reverse %}
30+
{{ macros.breadcrumb_item(parent.name, parent|url) }}
31+
{% endfor %}
3232
{{ macros.breadcrumb_item(topic.forum, topic.forum|url) }}
3333
{{ macros.breadcrumb_item(topic, topic|url) }}
3434
{% endblock %}

0 commit comments

Comments
 (0)