features/header-tags #4

Merged
jtom38 merged 3 commits from features/header-tags into main 2024-07-14 09:08:17 -07:00
Showing only changes of commit e8d4570dba - Show all commits

View File

@ -1,18 +1,24 @@
package layout package layout
templ WithTemplate() { import (
"git.jamestombleson.com/jtom38/newsbot-portal/components/bulma"
bl "git.jamestombleson.com/jtom38/newsbot-portal/components/bulma/layout"
"git.jamestombleson.com/jtom38/newsbot-portal/internal/models"
)
templ WithTemplate(meta models.HeaderMetaTags) {
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
@header() @header(meta)
</head> </head>
<body> <body>
@navBar() @navBar()
<br/> <br/>
<div class="container is-widescreen"> @bl.Container(bulma.BreakpointDefault) {
{ children... } { children... }
@footer() @footer()
</div> }
</body> </body>
</html> </html>
} }