use section instead of categories for breadcrumb
This commit is contained in:
parent
e5dbc7f399
commit
efd8935eff
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
{% block govplan_breadcrumbs %}
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ object.categories.first.get_absolute_url }}">{{ object.categories.first.name }}</a>
|
||||
<a href="{{ section.get_absolute_url }}">{{ section.title}}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active" aria-current="page">
|
||||
<a href="{{ object.get_absolute_url }}">{{ object.title }}</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue