send insights

This commit is contained in:
maddalax 2024-10-15 10:51:32 -05:00
parent 3621428093
commit a466726b70

View file

@ -41,11 +41,12 @@ func RootPage(ctx *h.RequestContext, children ...h.Ren) *h.Element {
h.Script("https://cdn.jsdelivr.net/npm/@docsearch/js@3"),
h.UnsafeRawScript(`
docsearch({
appId: "9IO2WZA8L1",
apiKey: "d8cd8b6f8f8a0c961ce971e09dbde90a",
indexName: "htmgo",
container: "#search-container",
debug: false
insights: true,
appId: "9IO2WZA8L1",
apiKey: "d8cd8b6f8f8a0c961ce971e09dbde90a",
indexName: "htmgo",
container: "#search-container",
debug: false
});
`),
),