diff options
author | metamuffin <metamuffin@disroot.org> | 2023-02-14 08:45:19 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-02-14 08:45:19 +0100 |
commit | 023c2e9cbb55a967d6b9797162e0d9b620f93bdb (patch) | |
tree | 97cf2890d1a627ee12d0c2b6a4f6da5606f27fd2 | |
parent | 7f496a7e6e17a9950f3e8280ce29992f773d25a2 (diff) | |
download | metamuffin-website-023c2e9cbb55a967d6b9797162e0d9b620f93bdb.tar metamuffin-website-023c2e9cbb55a967d6b9797162e0d9b620f93bdb.tar.bz2 metamuffin-website-023c2e9cbb55a967d6b9797162e0d9b620f93bdb.tar.zst |
no favicon
-rw-r--r-- | src/error.rs | 2 | ||||
-rw-r--r-- | src/main.rs | 1 | ||||
-rw-r--r-- | src/pages.rs | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs index 1fe89da..b6fb84e 100644 --- a/src/error.rs +++ b/src/error.rs @@ -29,7 +29,7 @@ impl<'r> Responder<'r, 'static> for MyError { Scaffold { title: "Error".to_string(), content: markup::new! { - h2 { "An error occured. Nobody is sorry"} + h2 { "An error occured. Nobody is sorry" } pre.error { @format!("{:?}", self.0) } }, } diff --git a/src/main.rs b/src/main.rs index da03c61..e59fd0b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -36,6 +36,7 @@ async fn main() { r_pgp_key, r_source, r_blog, + r_favicon, r_blog_index, r_blog_article, r_blog_atom, diff --git a/src/pages.rs b/src/pages.rs index ffdeb8f..347d2d4 100644 --- a/src/pages.rs +++ b/src/pages.rs @@ -97,6 +97,9 @@ pub fn r_contact() -> DynScaffold<'static> { } } +#[get("/favicon.ico")] +pub fn r_favicon() {} + #[get("/key.asc")] pub fn r_pgp_key() -> &'static str { include_str!("../assets/key.asc") |