$overlay{_template.html#body} $begin{content}

An informal data type, that is a 5-tuple, and is the basic navigation data unit. The method Directory.get_crumbs() returns a list of such 5-tuples. The 5 items in a crumb 5-tuple are:

    (url_path_from_root, component, crumb_label, title, directory)

The ${html.href('/nav/', 'Navigation')} section contains numerous examples of the crumb 5-tuple.

In a normally traversed URL, the last crumb, in the list of crumb objects returned by the Gizmo(QP) Directory.get_crumbs() method, is the one for the current page. However Directory instances, and their methods, are by default not exposed to the template evaluation namespace.

This demo page shows two things:

${html.format_p_obj(get_crumbs()[-1])}
$end{content}