File tree 2 files changed +7
-5
lines changed
fragdenstaat_de/fds_cms/templates/cms
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 15
15
</ li >
16
16
{% endif %}
17
17
{% for ance in ancestors %}
18
- < li {% if forloop.last %}class ="breadcrumb-item active " aria-current ="page "{% else %}class ="breadcrumb-item "{% endif %} >
19
- < a href ="{{ ance.get_absolute_url }} "
20
- {% if forloop.last %}aria-current ="page "{% endif %} > {{ ance.get_menu_title }}</ a >
21
- </ li >
18
+ {% if ance.get_absolute_url != '/' %}
19
+ < li {% if forloop.last %}class ="breadcrumb-item active " aria-current ="page "{% else %}class ="breadcrumb-item "{% endif %} >
20
+ < a href ="{{ ance.get_absolute_url }} "
21
+ {% if forloop.last %}aria-current ="page "{% endif %} > {{ ance.get_menu_title }}</ a >
22
+ </ li >
23
+ {% endif %}
22
24
{% endfor %}
Original file line number Diff line number Diff line change 9
9
{% endif %} >
10
10
< div class ="container-md ">
11
11
< ol class ="breadcrumb ">
12
- {% show_breadcrumb 1 "cms/breadcrumbs.html" %}
12
+ {% show_breadcrumb 0 "cms/breadcrumbs.html" %}
13
13
</ ol >
14
14
</ div >
15
15
</ nav >
You can’t perform that action at this time.
0 commit comments