Skip to content

Commit

Permalink
add baidu analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
gqcn committed Oct 31, 2024
1 parent 59e6e7f commit 01eb2c1
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,12 @@ const config: Config = {
// 默认支持的语言 https://github.com/FormidableLabs/prism-react-renderer/blob/master/packages/generate-prism-languages/index.ts#L9-L23
},
} satisfies Preset.ThemeConfig,
scripts: [
{
src: 'https://hm.baidu.com/hm.js?38f38a0626fd7805722db06243cd0fa7',
async: true,
},
],
};

// module.exports = {
// scripts: [
// {
// src: 'https://hm.baidu.com/hm.js?38f38a0626fd7805722db06243cd0fa7',
// async: true,
// },
// ],
// };

export default config;

0 comments on commit 01eb2c1

Please sign in to comment.