<?xml version="1.0"?>
<t name="Products Breadcrumb" t-name="website_sale.products_breadcrumb">
        <ol t-if="category" t-attf-class="breadcrumb #{_classes}">
            <li class="breadcrumb-item">
                <a t-att-href="keep(shop_path)">Products</a>
            </li>
            <t t-foreach="category.parents_and_self" t-as="cat">
                <li t-if="cat == category" class="breadcrumb-item">
                    <span class="d-inline-block" t-field="cat.name"/>
                </li>
                <li t-else="" class="breadcrumb-item">
                    <a t-att-href="keep('%s/category/%s' % (shop_path, slug(cat)))" t-field="cat.name"/>
                </li>
            </t>
        </ol>
    </t>

    