{%- for crumbsNode in include.nodes -%} {%- include active.html node=crumbsNode -%} {%- if active -%} {%- assign active = false -%} {%- assign crumbsChildren = hierarchy | where_exp:"item", "item.name == crumbsNode.id" | map: "items" | first -%} {%- include crumbs.html nodes=crumbsChildren -%} {%- endif -%} {%- endfor -%}