2024-04-13 11:50:05 -07:00
|
|
|
package layout
|
|
|
|
|
2024-04-14 18:38:09 -07:00
|
|
|
templ WithLayout(pageName string) {
|
2024-04-13 11:50:05 -07:00
|
|
|
<html>
|
|
|
|
@getHtmlHead()
|
|
|
|
<body>
|
|
|
|
@bootstrapNavBar()
|
|
|
|
@getBodyHeader(pageName)
|
|
|
|
<div class="container-fluid">
|
|
|
|
{ children... }
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
}
|
|
|
|
|
|
|
|
templ Testing(pageName string) {
|
|
|
|
<html>
|
|
|
|
@getHtmlHead()
|
|
|
|
<body>
|
|
|
|
@bootstrapNavBar()
|
|
|
|
@getBodyHeader(pageName)
|
|
|
|
<div class="container-fluid">
|
|
|
|
{ children... }
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
}
|