newsbot-portal/internal/views/layout/withTemplate.templ

25 lines
487 B
Plaintext
Raw Normal View History

2024-05-11 09:56:19 -07:00
package layout
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) {
2024-05-11 09:56:19 -07:00
<!DOCTYPE html>
<html lang="en">
<head>
@header(meta)
2024-05-11 09:56:19 -07:00
</head>
<body>
2024-05-18 22:37:30 -07:00
@navBar()
2024-05-19 10:02:34 -07:00
<br/>
@bl.Container(bulma.BreakpointDefault) {
2024-05-11 09:56:19 -07:00
{ children... }
@footer()
}
2024-05-11 09:56:19 -07:00
</body>
</html>
}