{% macro breadcrumb(title='', url='', icon='', is_active=false, position=none) %} {% set label|trim %} {% if icon %}{% endif %} {% if title %}{{ title|safe }}{% endif %} {% endset %} {% if label and not url %} {% set body = label %} {% elif not label and not url %} {% set body = caller() %} {% else %} {% set body %}{{ label }}{% endset %} {% endif %}