diff --git a/pagetop/src/base/theme/aliner.rs b/pagetop/src/base/theme/aliner.rs index daa58761..28bdf386 100644 --- a/pagetop/src/base/theme/aliner.rs +++ b/pagetop/src/base/theme/aliner.rs @@ -17,7 +17,7 @@ impl ThemeTrait for Aliner { fn before_render_page(&self, page: &mut Page) { page.alter_context(PageOp::AddFavicon( - Favicon::new().with_icon("/theme/favicon.png"), + Favicon::new().with_icon("/theme/favicon.ico"), )) .alter_context(PageOp::AddStyleSheet( StyleSheet::located("/aliner/css/styles.css").with_weight(-99), diff --git a/pagetop/src/base/theme/bootsier.rs b/pagetop/src/base/theme/bootsier.rs index 090c0085..a824b0da 100644 --- a/pagetop/src/base/theme/bootsier.rs +++ b/pagetop/src/base/theme/bootsier.rs @@ -19,7 +19,7 @@ impl ThemeTrait for Bootsier { fn before_render_page(&self, page: &mut Page) { page.alter_context(PageOp::AddFavicon( - Favicon::new().with_icon("/theme/favicon.png"), + Favicon::new().with_icon("/theme/favicon.ico"), )) .alter_context(PageOp::AddStyleSheet( StyleSheet::located("/bootsier/css/bootstrap.min.css") diff --git a/pagetop/src/base/theme/bulmix.rs b/pagetop/src/base/theme/bulmix.rs index 41edb458..90ce8c9c 100644 --- a/pagetop/src/base/theme/bulmix.rs +++ b/pagetop/src/base/theme/bulmix.rs @@ -17,7 +17,7 @@ impl ThemeTrait for Bulmix { fn before_render_page(&self, page: &mut Page) { page.alter_context(PageOp::AddFavicon( - Favicon::new().with_icon("/theme/favicon.png"), + Favicon::new().with_icon("/theme/favicon.ico"), )) .alter_context(PageOp::AddStyleSheet( StyleSheet::located("/bulmix/css/bulma.min.css") diff --git a/pagetop/src/core/theme/definition.rs b/pagetop/src/core/theme/definition.rs index 7dd880f0..3234fe78 100644 --- a/pagetop/src/core/theme/definition.rs +++ b/pagetop/src/core/theme/definition.rs @@ -29,7 +29,7 @@ pub trait ThemeTrait: BaseTheme + Send + Sync { #[allow(unused_variables)] fn before_render_page(&self, page: &mut Page) { page.alter_context(PageOp::AddFavicon( - Favicon::new().with_icon("/theme/favicon.png"), + Favicon::new().with_icon("/theme/favicon.ico"), )); } diff --git a/pagetop/static/theme/favicon.ico b/pagetop/static/theme/favicon.ico new file mode 100644 index 00000000..95e1affa Binary files /dev/null and b/pagetop/static/theme/favicon.ico differ diff --git a/pagetop/static/theme/favicon.png b/pagetop/static/theme/favicon.png deleted file mode 100644 index 7d38ea4a..00000000 Binary files a/pagetop/static/theme/favicon.png and /dev/null differ