Skip to content

Commit

Permalink
feat: 增加百度统计
Browse files Browse the repository at this point in the history
  • Loading branch information
MuYi086 committed Jul 1, 2024
1 parent c5af6d8 commit 2c09a6b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ export default defineConfig({
['link',{ href: 'https://cdn.bootcdn.net/ajax/libs/animate.css/4.1.1/animate.min.css', rel: 'stylesheet' }],
// https://ant-design.antgroup.com/index-cn
['link',{ href: 'https://cdn.bootcdn.net/ajax/libs/ant-design-vue/4.2.2/reset.css', rel: 'stylesheet' }],
// 百度统计: https://tongji.baidu.com/main/setting/10000636882/home/site/getjs?siteId=20724325
['script', {},
`var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?ed558b679137e233a92a57c4dddef714";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();`
],
// https://clarity.microsoft.com
['script', {},
`(function(c,l,a,r,i,t,y){
Expand Down

0 comments on commit 2c09a6b

Please sign in to comment.