From 5eaa7b481abeeb939255be975022284a4268535e Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 30 Aug 2022 13:20:27 +0200 Subject: remove file ext --- code/src/html.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/src') diff --git a/code/src/html.rs b/code/src/html.rs index e53502f..a6098e3 100644 --- a/code/src/html.rs +++ b/code/src/html.rs @@ -11,7 +11,7 @@ pub fn scaffold(title: String, body: impl Render) -> impl Render { body!( nav!( h2!("metamuffin's blog"), - a!(href = "./index.html", "index"), + a!(href = "./index", "index"), " ", a!(href = "./feed.atom", "atom") ), @@ -49,7 +49,7 @@ pub fn index(root: &str) -> impl Render { li!( date.to_string(), ": ", - a!(href = format!("./{canonical_name}.html",), title) + a!(href = format!("./{canonical_name}",), title) ) }, ) -- cgit v1.2.3-70-g09d2