feat: add head-support htmx extension
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
<script src="https://unpkg.com/htmx.org@2.0.4/dist/htmx.js"
|
||||
integrity="sha384-oeUn82QNXPuVkGCkcrInrS1twIxKhkZiFfr2TdiuObZ3n3yIeMiqcRzkIcguaof1"
|
||||
crossorigin="anonymous"></script>
|
||||
<script src="https://unpkg.com/htmx-ext-head-support@2.0.2"
|
||||
integrity="sha384-cvMqHzjCJsOHgGuyB3sWXaUSv/Krm0BdzjuI1rtkjCbL1l1oHJx+cHyVRJhyuEz0"
|
||||
crossorigin="anonymous"></script>
|
||||
</head>
|
||||
{{end}}
|
||||
{{define "layout-base-end"}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{define "layout-page-start"}}
|
||||
{{template "layout-base-start" (args "Title" .Title)}}
|
||||
|
||||
<body class="min-w-screen relative min-h-screen bg-black text-white" hx-boost="true">
|
||||
<body class="min-w-screen relative min-h-screen bg-black text-white" hx-boost="true" hx-ext="head-support">
|
||||
{{end}}
|
||||
{{define "layout-page-end"}}
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user