Skip to content

Commit b851a35

Browse files
committed
docs: 开启跟踪码
1 parent 82f67e3 commit b851a35

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
1212
<script src="//unpkg.com/[email protected]/dist/mermaid.min.js"></script>
1313
<script>
14-
// if (document.location.host.indexOf("localhost") <= -1) {
15-
// var _hmt = _hmt || [];
16-
// (function () {
17-
// var hm = document.createElement("script");
18-
// hm.src = "https://hm.baidu.com/hm.js?a80f6a4e424165733ee8c6f8cc5d688a";
19-
// var s = document.getElementsByTagName("script")[0];
20-
// s.parentNode.insertBefore(hm, s);
21-
// })();
22-
// }
14+
if (document.location.host.indexOf("localhost") <= -1) {
15+
var _hmt = _hmt || [];
16+
(function () {
17+
var hm = document.createElement("script");
18+
hm.src = "https://hm.baidu.com/hm.js?a80f6a4e424165733ee8c6f8cc5d688a";
19+
var s = document.getElementsByTagName("script")[0];
20+
s.parentNode.insertBefore(hm, s);
21+
})();
22+
}
2323
</script>
2424
</head>
2525

0 commit comments

Comments
 (0)