mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-20 22:17:09 +08:00
[feat]百度统计
This commit is contained in:
parent
47a6b0875c
commit
405dec3f13
@ -20,6 +20,19 @@ module.exports = config({
|
|||||||
"script",
|
"script",
|
||||||
{ src: "https://cdn.jsdelivr.net/npm/@babel/standalone/babel.min.js" },
|
{ src: "https://cdn.jsdelivr.net/npm/@babel/standalone/babel.min.js" },
|
||||||
],
|
],
|
||||||
|
// 添加百度统计
|
||||||
|
[
|
||||||
|
"script",
|
||||||
|
{},
|
||||||
|
`<script>
|
||||||
|
var _hmt = _hmt || [];
|
||||||
|
(function() {
|
||||||
|
var hm = document.createElement("script");
|
||||||
|
hm.src = "https://hm.baidu.com/hm.js?5dd2e8c97962d57b7b8fea1737c01743";
|
||||||
|
var s = document.getElementsByTagName("script")[0];
|
||||||
|
s.parentNode.insertBefore(hm, s);
|
||||||
|
})();`
|
||||||
|
]
|
||||||
],
|
],
|
||||||
|
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user