def METHOD_NAME():
    yield '<ol class="breadcrumb">'
    for href, text in generator():
        yield format_html('<li><a href="{}">{}</a></li>', mark_safe(href), text)
    if label:
        yield format_html('<li class="active">{}</li>', _(label))
    yield "</ol>"