diff --git a/.umirc.ts b/.umirc.ts index 623691a..f588ed5 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -13,7 +13,15 @@ export default defineConfig({ includes:["docs/src"] }, locales: [['zh-CN', 'δΈ­ζ–‡']], - scripts:["/voerka-i18n/js/baidu-stats.js"], + scripts:[` + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "https://hm.baidu.com/hm.js?06dc18a1ffc1c69ab1445ba8020ded5b"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + `], navs:[ { title:"ζŒ‡ε—",