Define la estructura para tests y ejemplos

This commit is contained in:
Manuel Cillero 2023-06-09 10:33:54 +02:00
parent cd76355430
commit 0af85c4d77
14 changed files with 74 additions and 24 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("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())
.with_in("content", hello_world())
.with_in("content", welcome())
.with_in("content", about_pagetop())
.with_in("content", promo_pagetop())
.with_in("content", reporting_issues())
.render()
}