Update breadcrumbs.html

This commit is contained in:
Rushabh Mehta 2014-08-22 17:04:37 +05:30
parent f710bb8a08
commit a054f5a2e7

View file

@ -1,4 +1,4 @@
{% set parents = doc.get_parents() if (doc and hasattr(doc, "get_parents")) else [] %}
{% set parents = doc.parents or [] %}
<ul class="breadcrumb">
{% if parents|length > 0 %}
{% for parent in parents %}