From c401da7c053a0c28aff998003f3364a0791ae766 Mon Sep 17 00:00:00 2001 From: sspaeti Date: Tue, 20 Feb 2024 18:20:50 +0100 Subject: [PATCH] remove prints --- src/renderer/html_handlebars/hbs_renderer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/html_handlebars/hbs_renderer.rs b/src/renderer/html_handlebars/hbs_renderer.rs index 82c08211..bfa9fda3 100644 --- a/src/renderer/html_handlebars/hbs_renderer.rs +++ b/src/renderer/html_handlebars/hbs_renderer.rs @@ -76,7 +76,7 @@ impl HtmlHandlebars { let parsed = matter.parse(&ch.content); let (content, new_content) = if let Some(data) = parsed.data { - eprintln!("DEBUG11: Parsed frontmatter: {:?}", &data); + debug!("Parsed frontmatter: {:?}", &data); let yaml_str = extract_frontmatter(&ch.content).unwrap_or_default(); let front_matter_result: Result = serde_yaml::from_str(yaml_str); // let front_matter_result: Result = serde_yaml::from_str(&ch.content); @@ -88,7 +88,7 @@ impl HtmlHandlebars { ctx.data.insert("og_image_url".to_owned(), json!(front_matter.featured_image_url)); }, Err(e) => { - eprintln!("Deserialization error: {:?}", e); + eprintln!("Frontmatter: Deserialization error: {:?}", e); }, }