25 lines
487 B
Plaintext
25 lines
487 B
Plaintext
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) {
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
@header(meta)
|
|
</head>
|
|
<body>
|
|
@navBar()
|
|
<br/>
|
|
@bl.Container(bulma.BreakpointDefault) {
|
|
{ children... }
|
|
@footer()
|
|
}
|
|
</body>
|
|
</html>
|
|
}
|