From 1b22e53ed3efddfb66f30358fdc08403beab86c7 Mon Sep 17 00:00:00 2001 From: cel 🌸 <cel@blos.sm> Date: Wed, 31 Jan 2024 23:47:51 +0000 Subject: add favicon --- src/atom.rs | 2 +- static/favicon.ico | Bin 14927 -> 0 bytes static/favicon.png | Bin 0 -> 14927 bytes templates/base.html | 1 + 4 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 static/favicon.ico create mode 100644 static/favicon.png diff --git a/src/atom.rs b/src/atom.rs index 6e2cd1a..11ae01d 100644 --- a/src/atom.rs +++ b/src/atom.rs @@ -91,7 +91,7 @@ pub async fn atom<P: AsRef<dyn Post + Send + Sync>>(ctx: Context, entries: Vec<P uri: Some("https://bunny.garden/cel/blossom".into()), version: None, }), - icon: Some("/favicon.ico".into()), + icon: Some("/static/favicon.png".into()), links: links.clone(), logo: Some("/logo.png".into()), entries: Vec::new(), diff --git a/static/favicon.ico b/static/favicon.ico deleted file mode 100644 index 860d791..0000000 Binary files a/static/favicon.ico and /dev/null differ diff --git a/static/favicon.png b/static/favicon.png new file mode 100644 index 0000000..860d791 Binary files /dev/null and b/static/favicon.png differ diff --git a/templates/base.html b/templates/base.html index 63068fd..3912833 100644 --- a/templates/base.html +++ b/templates/base.html @@ -6,6 +6,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="/static/style.css"> <link rel="stylesheet" href="/static/fonts.css"> + <link rel="icon" type="image/png" href="/static/favicon.png" /> <title>celeste's hard drive</title> </head> -- cgit