Skip to main content

front_matter

Function front_matter 

Source
pub fn front_matter(source: &str, key: &str) -> Option<String>
Expand description

The text a page’s front matter gives key, trimmed; None when it has no front matter, no such key, or nothing written for it.