aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-01-31 23:47:51 +0000
committerLibravatar cel 🌸 <cel@blos.sm>2024-01-31 23:47:51 +0000
commit1b22e53ed3efddfb66f30358fdc08403beab86c7 (patch)
treeda3d7261981e6516a66d52eeeda33cf746853a2e
parent7c743b7bf43e3c3266c8206c03e2e9964aa0cb4e (diff)
downloadblossom-1b22e53ed3efddfb66f30358fdc08403beab86c7.tar.gz
blossom-1b22e53ed3efddfb66f30358fdc08403beab86c7.tar.bz2
blossom-1b22e53ed3efddfb66f30358fdc08403beab86c7.zip
add favicon
-rw-r--r--src/atom.rs2
-rw-r--r--static/favicon.png (renamed from static/favicon.ico)bin14927 -> 14927 bytes
-rw-r--r--templates/base.html1
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
index 860d791..860d791 100644
--- a/static/favicon.ico
+++ b/static/favicon.png
Binary files 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>