Add sitemap

This commit is contained in:
Sander Spies 2020-04-06 11:53:21 +02:00
parent 82c60cbdd1
commit 2ed7ea4112
2 changed files with 6 additions and 0 deletions

View File

@ -115,6 +115,11 @@ const siteConfig = {
plugins: [
'@ligo/syntax', {
},
'@docusaurus/plugin-sitemap', {
cacheTime: 600 * 1000, // 600 sec - cache purge period
changefreq: 'weekly',
priority: 0.5,
}
],

View File

@ -26,6 +26,7 @@
]
},
"dependencies": {
"@docusaurus/plugin-sitemap": "^2.0.0-alpha.37",
"@ligo/syntax": "file:src/@ligo/syntax"
}
}