removed debug line
All checks were successful
Build / build (push) Successful in 3s

This commit is contained in:
2026-01-31 19:14:30 -05:00
parent 2d14dd2b93
commit 62348a5571

View File

@@ -27,8 +27,7 @@ fn load_posts() -> Result<HashMap<String, Post>, Error> {
let typst = fs::read_to_string(typst_path).expect("Failed reading post"); let typst = fs::read_to_string(typst_path).expect("Failed reading post");
let title = re_title.captures(&typst) let title = re_title.captures(&typst)
.expect(format!("Post title not found in {}", dir_path.to_str().unwrap()).as_str()) .expect(format!("Post title not found in {}", dir_path.to_str().unwrap()).as_str())
.get(1).unwrap().as_str().trim().to_string() ; .get(1).unwrap().as_str().trim().to_string();
println!("{}", title);
let slug = re_slug.captures(&typst) let slug = re_slug.captures(&typst)
.expect("Post slug not found") .expect("Post slug not found")
.get(1).unwrap().as_str().trim().to_string(); .get(1).unwrap().as_str().trim().to_string();