diff options
author | metamuffin <metamuffin@disroot.org> | 2022-08-30 13:20:27 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-08-30 13:20:27 +0200 |
commit | 5eaa7b481abeeb939255be975022284a4268535e (patch) | |
tree | b7b19a5dd7fac92961e2907788f4271bb34d9714 /code/src/html.rs | |
parent | 03b8b395abb2a25a4a1d71b7c1abbf9d12d9ccb8 (diff) | |
download | metamuffin-blog-5eaa7b481abeeb939255be975022284a4268535e.tar metamuffin-blog-5eaa7b481abeeb939255be975022284a4268535e.tar.bz2 metamuffin-blog-5eaa7b481abeeb939255be975022284a4268535e.tar.zst |
remove file ext
Diffstat (limited to 'code/src/html.rs')
-rw-r--r-- | code/src/html.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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) ) }, ) |