added component to add bulma into head
This commit is contained in:
parent
cd5ff71df4
commit
58ca5b3546
5
components/bulma/script.templ
Normal file
5
components/bulma/script.templ
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
package bulma
|
||||||
|
|
||||||
|
templ UseBulmaCdn() {
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.1/css/bulma.min.css"/>
|
||||||
|
}
|
@ -1,7 +1,9 @@
|
|||||||
package layout
|
package layout
|
||||||
|
|
||||||
|
import "git.jamestombleson.com/jtom38/newsbot-portal/components/bulma"
|
||||||
|
|
||||||
templ header() {
|
templ header() {
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.0/css/bulma.min.css"/>
|
@bulma.UseBulmaCdn()
|
||||||
<link rel="stylesheet" href="/css/main.css"/>
|
<link rel="stylesheet" href="/css/main.css"/>
|
||||||
<script src="https://unpkg.com/htmx.org@1.9.11" integrity="sha384-0gxUXCCR8yv9FM2b+U3FDbsKthCI66oH5IA9fHppQq9DDMHuMauqq1ZHBpJxQ0J0" crossorigin="anonymous"></script>
|
<script src="https://unpkg.com/htmx.org@1.9.11" integrity="sha384-0gxUXCCR8yv9FM2b+U3FDbsKthCI66oH5IA9fHppQq9DDMHuMauqq1ZHBpJxQ0J0" crossorigin="anonymous"></script>
|
||||||
<meta charset="utf-8"/>
|
<meta charset="utf-8"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user