Skip to content

Commit 7f92dc8

Browse files
jay-esyyx990803
andauthored
use spa mode for analytics script (#266)
Co-authored-by: Evan You <yyx990803@gmail.com>
1 parent ba3c2f5 commit 7f92dc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ export default defineConfigWithTheme<Config>({
571571
{
572572
src: 'https://cdn.usefathom.com/script.js',
573573
'data-site': 'XNOLWPLB',
574+
'data-spa': 'auto',
574575
defer: ''
575576
}
576577
]

0 commit comments

Comments
 (0)