Skip to main content

page_path_segment

Function page_path_segment 

Source
pub fn page_path_segment(url_path: &str, chapter_number: i32) -> Option<&str>
Expand description

The segment page_path would build url_path from for the chapter with the number; None when the path is not under that chapter’s front page path.