Updated the main template to require header meta tags

This commit is contained in:
James Tombleson 2024-07-14 09:06:43 -07:00
parent 209a28501c
commit e8d4570dba

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>
}