Updated the main template to require header meta tags
This commit is contained in:
parent
209a28501c
commit
e8d4570dba
@ -1,18 +1,24 @@
|
|||||||
package layout
|
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>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
@header()
|
@header(meta)
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@navBar()
|
@navBar()
|
||||||
<br/>
|
<br/>
|
||||||
<div class="container is-widescreen">
|
@bl.Container(bulma.BreakpointDefault) {
|
||||||
{ children... }
|
{ children... }
|
||||||
@footer()
|
@footer()
|
||||||
</div>
|
}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user