Updated the main template to require header meta tags
This commit is contained in:
parent
209a28501c
commit
e8d4570dba
@ -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>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user