Skip to content

Commit 882c349

Browse files
committed
添加分析
1 parent a7ad35a commit 882c349

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

themes/vue/layout/layout.ejs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@
2727
<!-- this needs to be loaded before guide's inline scripts -->
2828
<script src="/js/vue.js"></script>
2929
<script>window.PAGE_TYPE = "<%- page.type %>"</script>
30+
31+
<script>
32+
var _hmt = _hmt || [];
33+
(function() {
34+
var hm = document.createElement("script");
35+
hm.src = "https://hm.baidu.com/hm.js?ebacf70d9d85cfb235c83d600113ee3e";
36+
var s = document.getElementsByTagName("script")[0];
37+
s.parentNode.insertBefore(hm, s);
38+
})();
39+
</script>
40+
3041
</head>
3142
<body class="<%- isIndex ? '' : 'docs' -%>">
3243
<div id="mobile-bar" <%- isIndex ? 'class="top"' : '' %>>

0 commit comments

Comments
 (0)