$def with (breadcrumbs, fullpath, separator="▸", padding=" ") $ """ $ Render a `separator` delimited list of linkified `breadcrumbs`. $ $ `breadcrumbs` should be a single tuple that will be read two items at a time: $ $ ("path", "Name", "subpath", "Subname", ...) $ $ """ $ fullparts = fullpath.split("/") $ app = fullparts[0] $if len(fullparts) > 1: $ breadcrumbs = [app, app.capitalize()] + breadcrumbs $ remaining = int(len(breadcrumbs) / 2) $ path = "" $if len(fullparts) > 1: