hexo-generator-feed
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -69,8 +69,7 @@ var extend = hexo.extend, | ||
if (item.tags || item.categories){ | ||
var items = [].concat(item.tags, item.categories), | ||
categories = []; | ||
var items = [].concat(item.tags.toArray(), item.categories.toArray()); | ||
if (items.length){ | ||
var categories = []; | ||
items.forEach(function(item){ | ||
if (!item) return; | ||
categories.push({ | ||
@@ -77,0 +76,0 @@ _name: 'category', |
{ | ||
"name": "hexo-generator-feed", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "Feed generator plugin for Hexo", | ||
@@ -5,0 +5,0 @@ "main": "index", |
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
3341
88