Fixes in breadcrumbs template
This commit is contained in:
parent
791b2374c5
commit
0f83f0d214
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{% set parents = doc.get_parents() if doc else [] %}
|
||||
{% set parents = doc.get_parents() if (doc and hasattr(doc, "get_parents")) else [] %}
|
||||
<ul class="breadcrumb">
|
||||
{% if parents|length > 0 %}
|
||||
{% for parent in parents %}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue