feat: plausible #291

Merged
lunny merged 1 commits from jolheiser/blog:plausible into main 2023-08-22 01:27:20 +00:00
3 changed files with 13 additions and 0 deletions

View File

@ -149,6 +149,12 @@ const config = {
],
},
],
[
'docusaurus-plugin-plausible',
{
domain: 'blog.gitea.com',
},
],
],
presets: [

6
package-lock.json generated
View File

@ -14,6 +14,7 @@
"@easyops-cn/docusaurus-search-local": "^0.35.0",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"docusaurus-plugin-plausible": "^0.0.5",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2"
@ -5859,6 +5860,11 @@
"node": ">=6"
}
},
"node_modules/docusaurus-plugin-plausible": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/docusaurus-plugin-plausible/-/docusaurus-plugin-plausible-0.0.5.tgz",
"integrity": "sha512-8wiglvMjkGjhGUnBYgJM87V1Ip0wr8AbIHiC5YHNar3DOfXX+JL0nBoThlnvaX1ib/emraWgimR5QiMDOgMJjA=="
},
"node_modules/dom-converter": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz",

View File

@ -20,6 +20,7 @@
"@easyops-cn/docusaurus-search-local": "^0.35.0",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"docusaurus-plugin-plausible": "^0.0.5",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2"