功能(theme.config.tsx):在head中添加umami分析脚本,用于网站访问统计

This commit is contained in:
shitao 2024-02-26 10:08:17 +08:00
parent 6aa9d07486
commit 59b2b64d8d

View File

@ -44,6 +44,15 @@ const config: DocsThemeConfig = {
</svg> </svg>
), ),
}, },
head: (
<>
<script
async
src="https://umami.sitoi.cn/script.js"
data-website-id="93cd32e8-03fb-4896-9420-6d9bff2d2359"
></script>
</>
),
footer: { footer: {
text: 'DailyCheckin Docs © 2024', text: 'DailyCheckin Docs © 2024',
}, },