Skip to content

Commit

Permalink
update baidu hm
Browse files Browse the repository at this point in the history
  • Loading branch information
0xlau committed May 28, 2024
1 parent e4cbf00 commit aa642ae
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ export default defineConfig({
lang: "zh-Hans",
head: [
["link", { rel: "icon", href: "/live/logo.svg" }],
// [
// "script",
// {},
// `var _hmt = _hmt || [];
// (function() {
// var hm = document.createElement("script");
// hm.src = "https://hm.baidu.com/hm.js?592ba55993f3df6afcc69f8088276562";
// var s = document.getElementsByTagName("script")[0];
// s.parentNode.insertBefore(hm, s);
// })();`,
// ],
[
"script",
{},
`var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?592ba55993f3df6afcc69f8088276562";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();`,
],
],
markdown: {
image: {
Expand Down

0 comments on commit aa642ae

Please sign in to comment.