Breadcrumbs functionality and add a trailing slash if set in the config.