aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2022-08-30 17:31:49 +0200
committermetamuffin <metamuffin@disroot.org>2022-08-30 17:31:49 +0200
commit3dc35c8c7e1471e23ff227c8600810eca90b004b (patch)
tree3789d455a384c74116455f3c9642ad18c64c5715
parent50485b9ade676899146d58ecf89e0407b22564f4 (diff)
downloadmetamuffin-blog-3dc35c8c7e1471e23ff227c8600810eca90b004b.tar
metamuffin-blog-3dc35c8c7e1471e23ff227c8600810eca90b004b.tar.bz2
metamuffin-blog-3dc35c8c7e1471e23ff227c8600810eca90b004b.tar.zst
browsers should use utf8
-rw-r--r--code/src/html.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/code/src/html.rs b/code/src/html.rs
index a6098e3..5bcc245 100644
--- a/code/src/html.rs
+++ b/code/src/html.rs
@@ -5,6 +5,7 @@ use std::fs::read_to_string;
pub fn scaffold(title: String, body: impl Render) -> impl Render {
html!(
head!(
+ meta!(charset = "UTF-8"),
link!(rel = "stylesheet", href = "./style.css"),
title!(format!("{} - metamuffin's blog", title))
),