{# Shared template macros. Import with: {% from "_macros.html" import crumbs %} #} {# Breadcrumb trail. `items` is a list of (label, href) pairs, ordered root→current. Intermediate items with a truthy href render as links; the last item (or any item with an empty href) renders as plain current text. #} {% macro crumbs(items) -%} {%- endmacro %}