Add sitemap.xml generation during build

This commit is contained in:
Serafeim Chatzopoulos 2022-11-29 13:18:34 +02:00
parent b32ee99cdf
commit 4b63ab0ace
1 changed files with 6 additions and 0 deletions

View File

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