diff --git a/src/main.rs b/src/main.rs index fc7d68c..a93669e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -27,8 +27,7 @@ fn load_posts() -> Result, Error> { let typst = fs::read_to_string(typst_path).expect("Failed reading post"); let title = re_title.captures(&typst) .expect(format!("Post title not found in {}", dir_path.to_str().unwrap()).as_str()) - .get(1).unwrap().as_str().trim().to_string() ; - println!("{}", title); + .get(1).unwrap().as_str().trim().to_string(); let slug = re_slug.captures(&typst) .expect("Post slug not found") .get(1).unwrap().as_str().trim().to_string();