Skip to main content

page_asset_base

Function page_asset_base 

Source
pub fn page_asset_base(path: &str) -> String
Expand description

The URL-and-filesystem-safe form of a page path (/posts/:id → /posts/id) — the shipped name, exposed so the lock holds the published bytes rather than a copy of the rule.