Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
Add plausible
Browse files Browse the repository at this point in the history
  • Loading branch information
xijinping0 committed Aug 16, 2022
1 parent 8c66f5a commit b7db041
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ const config = {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/xijinping0/lovers/tree/master/',
editUrl: 'https://github.com/xijinping0/lovers/tree/master/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
Expand Down Expand Up @@ -78,6 +77,12 @@ const config = {
darkTheme: darkCodeTheme,
},
}),
scripts: [
{
src: 'https://plausible.io/js/script.js',
defer: true,
'data-domain': 'https://xijinping0.github.io/lovers',
}],
};

module.exports = config;

0 comments on commit b7db041

Please sign in to comment.