💄 Favicon.ico en lugar de PNG
This commit is contained in:
parent
f81404c68d
commit
283354776f
6 changed files with 4 additions and 4 deletions
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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"),
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
|||
BIN
pagetop/static/theme/favicon.ico
Normal file
BIN
pagetop/static/theme/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB |
Loading…
Add table
Add a link
Reference in a new issue