pub async fn render_with_route(
t: &Tenant,
tera: &Tera,
page: &Page,
url_prefix: &str,
site_prefix: &str,
locale_code: Option<&str>,
viewer: Option<&User>,
route_match: &RouteMatch,
accept: Accept,
cache: Option<(&BoxedCache, Duration)>,
) -> ResponseExpand description
Render page as a routable-page hit. The matched route’s
name + named capture groups are exposed to the template as
route_name and route_captures; the handler’s
route_context override gets a chance to inject additional ctx
before the framework keys are stamped.