💥 Diferencia entre renderizar y preparar página
This commit is contained in:
parent
97b520340a
commit
a33de4c92b
11 changed files with 111 additions and 46 deletions
|
|
@ -30,7 +30,7 @@ impl ModuleTrait for Bulmix {
|
|||
}
|
||||
|
||||
impl ThemeTrait for Bulmix {
|
||||
fn before_render_page(&self, page: &mut Page) {
|
||||
fn before_prepare_page(&self, page: &mut Page) {
|
||||
page.alter_favicon(Some(Favicon::new().with_icon("/theme/favicon.ico")))
|
||||
.alter_context(ContextOp::AddStyleSheet(
|
||||
StyleSheet::located("/bulmix/css/bulma.min.css")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue