akashacms-blog-podcast
Advanced tools
Comparing version 0.6.2 to 0.6.3
16
index.js
@@ -62,6 +62,16 @@ /** | ||
onSiteRendered(config) { | ||
// console.log(`blog-podcast onSiteRendered ${util.inspect(config.blogPodcast)}`); | ||
/* console.log(`blog-podcast onSiteRendered ${util.inspect(config.pluginData(pluginName).bloglist)}`); | ||
console.log(` Object.keys ${util.inspect(Object.keys(config.pluginData(pluginName).bloglist))}`); | ||
for (let key in config.pluginData(pluginName).bloglist) { | ||
console.log(`blog-podcast in ${key} hasOwnProperty ${config.pluginData(pluginName).bloglist.hasOwnProperty(key)}`); | ||
if (config.pluginData(pluginName).bloglist.hasOwnProperty(key)) { | ||
console.log(` OBJECT ${config.pluginData(pluginName).bloglist[key]}`); | ||
} | ||
} */ | ||
return co(function* () { | ||
for (var blogcfg of config.pluginData(pluginName).bloglist) { | ||
// var blogcfg = config.pluginData(pluginName).bloglist[blogkey]; | ||
for (var blogkey in config.pluginData(pluginName).bloglist) { | ||
if (!config.pluginData(pluginName).bloglist.hasOwnProperty(blogkey)) { | ||
continue; | ||
} | ||
var blogcfg = config.pluginData(pluginName).bloglist[blogkey]; | ||
// console.log(`blog-podcast blogcfg ${util.inspect(blogcfg)}`); | ||
@@ -68,0 +78,0 @@ var documents = yield findBlogDocs(config, undefined, blogcfg); |
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"engines": { | ||
@@ -17,0 +17,0 @@ "node": ">=6.1" |
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
27793
328