go-cook-portal/views/layout/body.templ

16 lines
290 B
Plaintext

package layout
templ WithLayout(pageName string) {
<!doctype html>
<html lang="en" data-bs-theme={ useLightOrDarkTheme(ctx) }>
@getHtmlHead()
<body>
@bootstrapNavBar()
@getBodyHeader(pageName)
<div class="container-fluid">
{ children... }
</div>
</body>
</html>
}