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.Script("https://cdn.jsdelivr.net/npm/@docsearch/js@3"),
h.UnsafeRawScript(` h.UnsafeRawScript(`
docsearch({ docsearch({
appId: "9IO2WZA8L1", insights: true,
apiKey: "d8cd8b6f8f8a0c961ce971e09dbde90a", appId: "9IO2WZA8L1",
indexName: "htmgo", apiKey: "d8cd8b6f8f8a0c961ce971e09dbde90a",
container: "#search-container", indexName: "htmgo",
debug: false container: "#search-container",
debug: false
}); });
`), `),
), ),