Skip to content

Commit

Permalink
Update generator.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahDragon authored Jul 25, 2017
1 parent 3c0a691 commit ca503de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = function(locals) {
return b.updated - a.updated;
});

posts.toArray().forEach(function(item, index, allItems) {
posts.forEach(function(item, index, allItems) {
categories = categories.concat(mapPostCategory(item.categories, item, config.root));
});

Expand Down

0 comments on commit ca503de

Please sign in to comment.