Skip to content

Commit 0c1d5f1

Browse files
committed
Fix sitemap plugin double instance
1 parent 2009448 commit 0c1d5f1

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

docusaurus.config.js

+5-9
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,6 @@ module.exports = {
1919
},
2020
plugins: [
2121
'docusaurus-plugin-sass',
22-
// '@docusaurus/plugin-google-gtag',
23-
[
24-
'@docusaurus/plugin-sitemap',
25-
{
26-
changefreq: 'weekly',
27-
priority: 0.5,
28-
trailingSlash: false,
29-
},
30-
]
3122
],
3223
presets: [
3324
[
@@ -44,6 +35,11 @@ module.exports = {
4435
theme: {
4536
customCss: require.resolve('./src/css/custom.scss'),
4637
},
38+
sitemap: {
39+
changefreq: 'weekly',
40+
priority: 0.5,
41+
trailingSlash: false,
42+
},
4743
},
4844
],
4945
],

0 commit comments

Comments
 (0)