diff --git a/src/server/views/html/mod.rs b/src/server/views/html/mod.rs index 39770d1..6d2b549 100644 --- a/src/server/views/html/mod.rs +++ b/src/server/views/html/mod.rs @@ -2,7 +2,7 @@ use std::time::Duration; use hyper::header::CONTENT_TYPE; use hyper::{Body, Response}; -use maud::{html, Markup, Render}; +use maud::{html, Markup, Render, DOCTYPE}; pub mod error; pub mod index; @@ -13,6 +13,7 @@ use crate::server::SELF_BASE_URL; fn render_html(title: &str, body: B) -> Response { let rendered = html! { + (DOCTYPE) html { head { meta charset="utf-8";