diff options
author | cel 🌸 <cel@blos.sm> | 2024-01-31 23:47:51 +0000 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2024-01-31 23:47:51 +0000 |
commit | 1b22e53ed3efddfb66f30358fdc08403beab86c7 (patch) | |
tree | da3d7261981e6516a66d52eeeda33cf746853a2e | |
parent | 7c743b7bf43e3c3266c8206c03e2e9964aa0cb4e (diff) | |
download | blossom-1b22e53ed3efddfb66f30358fdc08403beab86c7.tar.gz blossom-1b22e53ed3efddfb66f30358fdc08403beab86c7.tar.bz2 blossom-1b22e53ed3efddfb66f30358fdc08403beab86c7.zip |
add favicon
Diffstat (limited to '')
-rw-r--r-- | src/atom.rs | 2 | ||||
-rw-r--r-- | static/favicon.png (renamed from static/favicon.ico) | bin | 14927 -> 14927 bytes | |||
-rw-r--r-- | templates/base.html | 1 |
3 files changed, 2 insertions, 1 deletions
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.png Binary files differindex 860d791..860d791 100644 --- a/static/favicon.ico +++ b/static/favicon.png 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> |