From a466726b702ccf258c3fe9a8c1ea4c0576d2be1c Mon Sep 17 00:00:00 2001 From: maddalax Date: Tue, 15 Oct 2024 10:51:32 -0500 Subject: [PATCH] send insights --- htmgo-site/pages/base/root.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/htmgo-site/pages/base/root.go b/htmgo-site/pages/base/root.go index 324d7e5..4b0e185 100644 --- a/htmgo-site/pages/base/root.go +++ b/htmgo-site/pages/base/root.go @@ -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 }); `), ),