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

26 lines
552 B
Plaintext
Raw Permalink Normal View History

2024-05-11 09:56:19 -07:00
package layout
import (
"git.jamestombleson.com/jtom38/newsbot-portal/templ-bulma"
bl "git.jamestombleson.com/jtom38/newsbot-portal/templ-bulma/layout"
"git.jamestombleson.com/jtom38/newsbot-portal/internal/models"
"git.jamestombleson.com/jtom38/newsbot-portal/templ-bulma/html"
)
templ WithTemplate(meta models.HeaderMetaTags) {
@html.Doctype()
@html.New("en") {
@html.NewHeader() {
@header(meta)
}
@html.NewBody(){
2024-05-18 22:37:30 -07:00
@navBar()
@html.Br()
@bl.Container(bulma.BreakpointDefault) {
2024-05-11 09:56:19 -07:00
{ children... }
}
@footer()
}
}
2024-05-11 09:56:19 -07:00
}