Skip to content

Commit 16b9097

Browse files
committed
add umami analytics board
1 parent f7f3b0a commit 16b9097

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

main/defineAlmostWiki.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ export function defineConfig(config: UserConfig<DefaultTheme.Config>): UserConfi
4040
throw new Error("Docs title not found")
4141
}
4242

43+
config.head = [
44+
[
45+
"script",
46+
{
47+
src: "https://server.almostreliable.com:3000/script.js",
48+
"data-website-id": "48de55c0-1bad-43f4-a4b1-122a413ccb3d",
49+
defer: "",
50+
},
51+
],
52+
]
53+
4354
config.srcDir = "./docs"
4455
config.base = config.base ?? `/${config.title.replace(/ /g, "").toLocaleLowerCase()}/`
4556
config.description = `Documentation for ${config.title}`

0 commit comments

Comments
 (0)