From 9ba049d021e3b318cbf2bfae54a82adba0a59859 Mon Sep 17 00:00:00 2001 From: Thomas Gideon Date: Sun, 6 Oct 2024 10:53:38 -0400 Subject: [PATCH] Fix dairy link href --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index cb20ec4..db9dfd2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -234,7 +234,7 @@ async fn create_back_links(output_dir: &str, this_day: &DateTime) -> Resu "[{} - {}](diary:{})", (day - *this_day).to_relative(), first.trim(), - b + b.trim_end_matches(".md") ); debug!("Link {link}"); Ok(link)