♻️ (theme): Refactoriza renderizado de temas base

This commit is contained in:
Manuel Cillero 2025-11-23 14:35:38 +01:00
parent 9657672ffd
commit a2fe2114cd
8 changed files with 79 additions and 47 deletions

View file

@ -12,6 +12,10 @@ impl Extension for Basic {
impl Theme for Basic {
fn before_render_page_body(&self, page: &mut Page) {
page.alter_param("include_basic_assets", true);
page.alter_param("include_basic_assets", true)
.alter_child_in(
Region::FOOTER,
ChildOp::AddIfEmpty(Child::with(PoweredBy::new())),
);
}
}