Skip to content

Commit 59b2b64

Browse files
committed
✨ 功能(theme.config.tsx):在head中添加umami分析脚本,用于网站访问统计
1 parent 6aa9d07 commit 59b2b64

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/theme.config.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,15 @@ const config: DocsThemeConfig = {
4444
</svg>
4545
),
4646
},
47+
head: (
48+
<>
49+
<script
50+
async
51+
src="https://umami.sitoi.cn/script.js"
52+
data-website-id="93cd32e8-03fb-4896-9420-6d9bff2d2359"
53+
></script>
54+
</>
55+
),
4756
footer: {
4857
text: 'DailyCheckin Docs © 2024',
4958
},

0 commit comments

Comments
 (0)