mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-29 05:12:52 +00:00
fix wrong sitemap urls (#801)
This commit is contained in:
parent
76870c6a37
commit
418c840ad4
|
|
@ -72,9 +72,8 @@ module.exports = function(callback) {
|
|||
MetadataBlog.map(blog => {
|
||||
urls.push({
|
||||
url:
|
||||
'/blog/' + siteConfig.cleanUrl
|
||||
? blog.path.replace(/\.html$/, '')
|
||||
: blog.path,
|
||||
'/blog/' +
|
||||
(siteConfig.cleanUrl ? blog.path.replace(/\.html$/, '') : blog.path),
|
||||
changefreq: 'weekly',
|
||||
priority: 0.3,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue