newsbot-portal/internal/views/layout/header.templ

22 lines
814 B
Plaintext
Raw Normal View History

2024-05-18 22:37:30 -07:00
package layout
2024-07-13 10:34:28 -07:00
import "git.jamestombleson.com/jtom38/newsbot-portal/components/bulma"
import "git.jamestombleson.com/jtom38/newsbot-portal/internal/models"
2024-07-13 10:34:28 -07:00
templ header(meta models.HeaderMetaTags) {
2024-07-13 10:34:28 -07:00
@bulma.UseBulmaCdn()
<link rel="stylesheet" href="/css/main.css"/>
2024-05-18 22:37:30 -07:00
<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>
2024-05-18 22:37:30 -07:00
}