Skip to content
Permalink
Browse files

Fix issue hexojs#4

  • Loading branch information...
Haizs committed Feb 20, 2017
1 parent 683b1f2 commit 9301189c4b324db9f9af998ddd3ff2d505a8370f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/generator.js
@@ -67,7 +67,7 @@ module.exports = function(locals) {
// Daily
if (config.archive_generator.daily) {
var day = date.date();
if (!posts[year][month].hasOwnProperty(day)) {
if (!posts[year][month].hasOwnProperty('day')) {
posts[year][month].day = {};
}

0 comments on commit 9301189

Please sign in to comment.
You can’t perform that action at this time.