pub fn parse_frontmatter(content: &str) -> Result<(Frontmatter, String), String>
pi’s parseFrontmatter: the frontmatter and the body, or the YAML error.
parseFrontmatter