send insights
This commit is contained in:
parent
3621428093
commit
a466726b70
1 changed files with 6 additions and 5 deletions
|
|
@ -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
|
||||||
});
|
});
|
||||||
`),
|
`),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue