{% macro breadcrumb(page) %}
{% import _self as macro %}
{% if page.parent and page.parent.parent %}
{{ macro.breadcrumb(page.parent) }}
{% endif %}
{% if page.uri == app.request.pathInfo %}
<a href="{{ page.uri }}" class="item">{{ page.name }}</a>
{% else %}
<a href="{{ page.uri }}" class="item">{{ page.name }}</a>
{% endif %}
{% endmacro %}
{% import _self as macro %}
<div class="breadcrumbs-container">
<div class="container">
<div class="breadcrumbs">
<a href="/" class="item">
<svg>
<use xlink:href="/images/sprite..svg#home" />
</svg>
</a>
{{ macro.breadcrumb(page) }}
</div>
</div>
</div>