Add sitemap.xml generation during build #21

Merged
schatz merged 4 commits from Add_sitemap_generation into main 2022-12-02 12:27:52 +01:00
1 changed files with 6 additions and 0 deletions

View File

@ -64,6 +64,12 @@ const config = {
theme: { theme: {
customCss: require.resolve('./src/css/custom.css'), customCss: require.resolve('./src/css/custom.css'),
}, },
sitemap: {
changefreq: 'monthly',
priority: 0.5,
ignorePatterns: ['/tags/**'],
filename: 'sitemap.xml',
},
}), }),
], ],
], ],