Merge pull request #1174 from capensisma/patch-1

Fixed url not defined in postPages[post.url] line 53
This commit is contained in:
Sacha Greif 2015-11-23 17:12:06 +09:00
commit 773d2bdd6f

View file

@ -50,7 +50,7 @@ Meteor.startup(function() {
sort: params.options.sort
});
posts.forEach(function(post) {
postPages[url] = {page: post.getPageUrl(), lastmod: post.postedAt, changefreq: "daily"};
postPages[post.url] = {page: post.getPageUrl(), lastmod: post.postedAt, changefreq: "daily"};
});
});