hexo-generator-better-sitemap
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -20,3 +20,3 @@ const seoFriendlySitemap = function (locals) { | ||
return Promise.all(sitemaps) | ||
.filter(Boolean) | ||
.then(arr => arr.filter(Boolean)) | ||
.then(indexSitemap.get) | ||
@@ -23,0 +23,0 @@ .map(render); |
@@ -28,7 +28,7 @@ const path = require('path'); | ||
const templateFilePath = path.join(viewPath, sitemap.template); | ||
return Promise.join( | ||
return Promise.all([ | ||
sitemap, | ||
templateFilePath, | ||
common.getFileContent(templateFilePath), | ||
getCompiledContent); | ||
common.getFileContent(templateFilePath) | ||
]).then(results => getCompiledContent(...results)); | ||
}; | ||
@@ -35,0 +35,0 @@ |
{ | ||
"name": "hexo-generator-better-sitemap", | ||
"description": "SEO-friendly sitemap generator plugin for Hexo", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "SukkaW", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23462