Update breadcrumbs.html

This commit is contained in:
Rushabh Mehta 2014-08-22 17:06:53 +05:30
parent a054f5a2e7
commit fbc4c8e338

View file

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