$def with (resource) $ path = tx.request.uri.path $ owner = tx.host.owner \ $if "title" in resource: $:resource.title — \ $owner["name"][0] $# $# $if not isinstance(resource, str) and "head" in resource: $:resource.head()
$if "prefix" in resource: $:resource.prefix
$if path: $ sep = " " $ post_sep = " " $# Home$:sep $if "breadcrumbs" in resource:
$if "title" in resource and getattr(resource, "show_title", True):

$:resource.title

$if "header" in resource: $:resource.header()
$:resource
$if "suffix" in resource: $:resource.suffix