Recupera la versión con valor propio en activos

This commit is contained in:
Manuel Cillero 2023-07-06 18:29:01 +02:00
parent 4673b82a93
commit f85a35b5f4
5 changed files with 33 additions and 25 deletions

View file

@ -34,9 +34,11 @@ impl ThemeTrait for Bulmix {
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?v=0.9.4").with_weight(-99),
StyleSheet::located("/bulmix/css/bulma.min.css")
.with_version("0.9.4")
.with_weight(-99),
));
JQuery::add_in(page.context());
JQuery.enable_jquery(page.context());
}
#[rustfmt::skip]