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
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>
<html lang="en">
<head>
@header()
@header(meta)
</head>
<body>
@navBar()
<br/>
<div class="container is-widescreen">
@bl.Container(bulma.BreakpointDefault) {
{ children... }
@footer()
</div>
}
</body>
</html>
}