💥 Diferencia entre renderizar y preparar página

This commit is contained in:
Manuel Cillero 2023-06-23 23:50:52 +02:00
parent 97b520340a
commit a33de4c92b
11 changed files with 111 additions and 46 deletions

View file

@ -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")