diff --git a/internal/views/layout/withTemplate.templ b/internal/views/layout/withTemplate.templ index 28da166..83ed5bc 100644 --- a/internal/views/layout/withTemplate.templ +++ b/internal/views/layout/withTemplate.templ @@ -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) { - @header() + @header(meta) @navBar()
-
+ @bl.Container(bulma.BreakpointDefault) { { children... } @footer() -
+ } }