Skip to content

Commit 494a711

Browse files
committed
add baidu tongji
1 parent 38bd66f commit 494a711

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/layouts/Layout.astro

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,16 @@ const makeTitle = title
4242
}
4343
]
4444
}}
45-
/>
45+
/>
46+
<script>
47+
var _hmt = _hmt || [];
48+
(function() {
49+
var hm = document.createElement("script");
50+
hm.src = "https://hm.baidu.com/hm.js?7cd7ede27d94e5534124e44fcdd7fecd";
51+
var s = document.getElementsByTagName("script")[0];
52+
s.parentNode.insertBefore(hm, s);
53+
})();
54+
</script>
4655
</head>
4756

4857
<script>

0 commit comments

Comments
 (0)