diff --git a/src/main.rs b/src/main.rs index db9dfd2..750a774 100644 --- a/src/main.rs +++ b/src/main.rs @@ -231,7 +231,7 @@ async fn create_back_links(output_dir: &str, this_day: &DateTime) -> Resu .with_context(|| format!("Could not parse {day} as date!"))?; let first = first.trim_start_matches(&format!("# {} - ", day.format("%Y-%m-%d"))); let link = format!( - "[{} - {}](diary:{})", + "[{} - {}](diary:{}) ", (day - *this_day).to_relative(), first.trim(), b.trim_end_matches(".md")