22 lines
814 B
Plaintext
22 lines
814 B
Plaintext
package layout
|
|
|
|
import "git.jamestombleson.com/jtom38/newsbot-portal/components/bulma"
|
|
import "git.jamestombleson.com/jtom38/newsbot-portal/internal/models"
|
|
|
|
templ header(meta models.HeaderMetaTags) {
|
|
@bulma.UseBulmaCdn()
|
|
<link rel="stylesheet" href="/css/main.css"/>
|
|
<script src="https://unpkg.com/htmx.org@1.9.11" integrity="sha384-0gxUXCCR8yv9FM2b+U3FDbsKthCI66oH5IA9fHppQq9DDMHuMauqq1ZHBpJxQ0J0" crossorigin="anonymous"></script>
|
|
<meta charset="utf-8"/>
|
|
<meta property="og:title" content={ meta.Title }/>
|
|
<meta property="og:url" content={ meta.Url }/>
|
|
<meta property="og:image" content={ meta.Image }/>
|
|
<meta property="og:description" content={ meta.Image }/>
|
|
<meta property="og:type" content={ meta.Type }/>
|
|
<style type="text/css">
|
|
.pin-bottom {
|
|
position: absolute;
|
|
bottom: 0;
|
|
}
|
|
</style>
|
|
} |