Skip to main content

auto_mounted_page_path

Function auto_mounted_page_path 

Source
pub fn auto_mounted_page_path(
    defs: &[Stmt<'_>],
    interner: &Interner,
) -> Option<String>
Expand description

The declared URL of the ## Page defs auto-mounts, if any, resolved through interner. routePath() must read this from the moment a page’s own auto-mount runs, not the boot default "/": a page’s own test, and every tier that mounts it, is that page AT its own URL, exactly as a visitor who navigated there directly would find it.