Skip to main content

title_from_path

Function title_from_path 

Source
pub fn title_from_path(relative_path: &str) -> String
Expand description

Derive a page title from a relative file path. “notes/My Page.md” -> “My Page”