{% macro breadcrumb(page) %}
{% import _self as macro %}
{% if page.parent and page.parent %}
{{ macro.breadcrumb(page.parent) }}
{% endif %}
{% if page.uri == app.request.pathInfo %}
<div class="breadcrumb">
<a class="breadcrumb-link active" href="{{ page.uri }}"> {{ page.name }} </a>
</div>
{% else %}
<div class="breadcrumb">
<a class="breadcrumb-link" href="{{ page.uri }}"> {{ page.name }} </a>
</div>
{% endif %}
{% endmacro %}
{% import _self as macro %}
<div class="breadcrumbs">
<div class="container">
<div class="breadcrumbs-content">
{{ macro.breadcrumb(page) }}
</div>
</div>
</div>