chore: remove web-analytics

This commit is contained in:
Baoshuo Ren 2022-09-19 07:53:08 +08:00
parent a0a01da7b2
commit 7de9b534c1
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A
2 changed files with 0 additions and 10 deletions

View File

@ -52,12 +52,6 @@ return [
] ]
], ],
'switch' => [ 'switch' => [
'web-analytics' => false,
'blog-domain-mode' => 3 'blog-domain-mode' => 3
],
'tools' => [
// 请仅在https下启用以下功能.
// 非https下, chrome无法进行复制.
'map-copy-enabled' => false,
] ]
]; ];

View File

@ -228,10 +228,6 @@
} }
}); });
</script> </script>
<?php if (UOJConfig::$data['switch']['web-analytics']): ?>
<script>var _hmt = _hmt || [];(function() {var hm = document.createElement("script");hm.src = "//hm.baidu.com/hm.js?bbd5ae87bf89e087603a1988103688ff";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm, s);})();</script>
<?php endif ?>
</head> </head>
<body role="document"> <body role="document">
<div class="container theme-showcase" role="main"> <div class="container theme-showcase" role="main">