Skip to content

Commit

Permalink
fix(website): fix Baidu statistics script(stoneatom#1502)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nliver committed Mar 30, 2023
1 parent 45874be commit d29544b
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,17 +255,7 @@ const config = {
},
],
],
scripts:[
{
script:`var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?7bd24ad933c7b555361696ce01e3e8ff";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();`
}
]
scripts:["https://hm.baidu.com/hm.js?7bd24ad933c7b555361696ce01e3e8ff"]
};

module.exports = config;

0 comments on commit d29544b

Please sign in to comment.