package layout // Layout is a component that renders the general layout of the application templ Root(title string, remote bool) { @Styles() @Htmx() @Alpine() @WebAwesome() { title } @Toaster() {
{ children... }
} } // LayoutNoBody is a component that renders the general layout of the application without the body tag templ NoBody(title string, remote bool) { @Styles() @Htmx() @Alpine() @WebAwesome() { title }
@Toaster() {
{ children... }
}
}