📱 Actualiza el funcionamiento de temas

This commit is contained in:
Manuel Cillero 2023-06-04 23:00:51 +02:00
parent 18c141aeb9
commit a669608783
10 changed files with 117 additions and 51 deletions

View file

@ -39,11 +39,11 @@ async fn demo(request: server::HttpRequest) -> ResultPage<Markup, FatalError> {
"/homedemo/css/styles.css",
)))
.with_body_classes(ClassesOp::AddFirst, "default-homepage")
.with_this_in("region-content", hello_world())
.with_this_in("region-content", welcome())
.with_this_in("region-content", about_pagetop())
.with_this_in("region-content", promo_pagetop())
.with_this_in("region-content", reporting_issues())
.with_this_in("content", hello_world())
.with_this_in("content", welcome())
.with_this_in("content", about_pagetop())
.with_this_in("content", promo_pagetop())
.with_this_in("content", reporting_issues())
.render()
}