pub fn parse_frontmatter(content: &str) -> Result<Frontmatter, Error>
Returns errors when frontmatter is missing or malformed.