aboutsummaryrefslogtreecommitdiff
path: root/code/src
diff options
context:
space:
mode:
Diffstat (limited to 'code/src')
-rw-r--r--code/src/html.rs4
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)
)
},
)