Skip to content

Commit

Permalink
✨ 功能(theme.config.tsx):在head中添加umami分析脚本,用于网站访问统计
Browse files Browse the repository at this point in the history
  • Loading branch information
Sitoi committed Feb 26, 2024
1 parent 6aa9d07 commit 59b2b64
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ const config: DocsThemeConfig = {
</svg>
),
},
head: (
<>
<script
async
src="https://umami.sitoi.cn/script.js"
data-website-id="93cd32e8-03fb-4896-9420-6d9bff2d2359"
></script>
</>
),
footer: {
text: 'DailyCheckin Docs © 2024',
},
Expand Down

0 comments on commit 59b2b64

Please sign in to comment.