mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-30 23:08:54 +02:00
fix wrong sitemap urls (#801)
This commit is contained in:
parent
76870c6a37
commit
418c840ad4
1 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue