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)