Change sitemap priority for hidden pages

This commit is contained in:
Kamran Ahmed
2019-12-01 16:17:29 +04:00
parent a06eaec5d4
commit 3364eae0a6
2 changed files with 2 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ function generateSiteMap() {
basePath: STORAGE_PATH,
fileName: menuPage.path,
slug: menuPage.url,
priority: '1.0',
priority: menuPage.path.includes('_others') ? '0.5' : '1.0',
})
})
];