{"action":"closed","issue":{"url":"https://api.github.com/repos/hexojs/hexo/issues/1429","labels_url":"https://api.github.com/repos/hexojs/hexo/issues/1429/labels{/name}","comments_url":"https://api.github.com/repos/hexojs/hexo/issues/1429/comments","events_url":"https://api.github.com/repos/hexojs/hexo/issues/1429/events","html_url":"https://github.com/hexojs/hexo/issues/1429","id":98685506,"number":1429,"title":"Cannot read property 'each' of undefined","user":{"login":"Sir0xb","id":2919748,"avatar_url":"https://avatars.githubusercontent.com/u/2919748?v=3","gravatar_id":"","url":"https://api.github.com/users/Sir0xb","html_url":"https://github.com/Sir0xb","followers_url":"https://api.github.com/users/Sir0xb/followers","following_url":"https://api.github.com/users/Sir0xb/following{/other_user}","gists_url":"https://api.github.com/users/Sir0xb/gists{/gist_id}","starred_url":"https://api.github.com/users/Sir0xb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sir0xb/subscriptions","organizations_url":"https://api.github.com/users/Sir0xb/orgs","repos_url":"https://api.github.com/users/Sir0xb/repos","events_url":"https://api.github.com/users/Sir0xb/events{/privacy}","received_events_url":"https://api.github.com/users/Sir0xb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hexojs/hexo/labels/pending-reply","name":"pending-reply","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-03T07:10:38Z","updated_at":"2015-08-05T03:55:59Z","closed_at":"2015-08-05T03:55:59Z","body":"直接打出类型是 function没问题。\r\n就算出错了，静态文件也都正常生成了，不影响。\r\n```\r\n    3| <body>\r\n    4| <%- partial('_chips/header') %>\r\n >> 5| <% page.posts.each(function(item){ if(item.top){ %>\r\n    6|     <div><%- item.title %></div>\r\n    7| <% }}); %>\r\n    8| <% page.posts.each(function(item){ if(!item.top){ %>\r\n\r\nCannot read property 'each' of undefined\r\n```"}}