{"action":"opened","issue":{"url":"https://api.github.com/repos/iissnan/hexo-theme-next/issues/1225","repository_url":"https://api.github.com/repos/iissnan/hexo-theme-next","labels_url":"https://api.github.com/repos/iissnan/hexo-theme-next/issues/1225/labels{/name}","comments_url":"https://api.github.com/repos/iissnan/hexo-theme-next/issues/1225/comments","events_url":"https://api.github.com/repos/iissnan/hexo-theme-next/issues/1225/events","html_url":"https://github.com/iissnan/hexo-theme-next/issues/1225","id":187505308,"number":1225,"title":"目前似乎不支持Hexo3","user":{"login":"destinyliu","id":9740669,"avatar_url":"https://avatars.githubusercontent.com/u/9740669?v=3","gravatar_id":"","url":"https://api.github.com/users/destinyliu","html_url":"https://github.com/destinyliu","followers_url":"https://api.github.com/users/destinyliu/followers","following_url":"https://api.github.com/users/destinyliu/following{/other_user}","gists_url":"https://api.github.com/users/destinyliu/gists{/gist_id}","starred_url":"https://api.github.com/users/destinyliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/destinyliu/subscriptions","organizations_url":"https://api.github.com/users/destinyliu/orgs","repos_url":"https://api.github.com/users/destinyliu/repos","events_url":"https://api.github.com/users/destinyliu/events{/privacy}","received_events_url":"https://api.github.com/users/destinyliu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-05T16:04:18Z","updated_at":"2016-11-05T16:04:18Z","closed_at":null,"body":"### Expected behavior (预期行为)\r\n\r\n希望能支持Hexo3\r\n### Actual behavior (实际行为)\r\n\r\n目前\r\nINFO  Hexo is running at http://localhost:4000/. Press Ctrl+C to stop.\r\nUnhandled rejection TypeError: /Users/fengmian/workspaces/thinking-work/hexo-test/themes/next/layout/layout.ejs:9\r\n    7|         <section id=\"main\"><%- body %></section>\r\n    8|         <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %>\r\n >> 9|           <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %>\r\n    10|         <% } %>\r\n    11|       </div>\r\n    12|       <%- partial('_partial/footer', null, {cache: !config.relative_link}) %>\r\n\r\n/Users/fengmian/workspaces/thinking-work/hexo-test/themes/next/layout/_partial/sidebar.ejs:2\r\n    1| <aside id=\"sidebar\"<% if (theme.sidebar === 'bottom'){ %> class=\"outer\"<% } %>>\r\n >> 2|   <% theme.widgets.forEach(function(widget){ %>\r\n    3|     <%- partial('_widget/' + widget) %>\r\n    4|   <% }) %>\r\n    5| </aside>\r\n\r\nCannot read property 'forEach' of undefined\r\n    at eval (eval at <anonymous> (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.1.0.0@ejs/lib/ejs.js:242:14), <anonymous>:30:185)\r\n    at eval (eval at <anonymous> (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.1.0.0@ejs/lib/ejs.js:242:14), <anonymous>:30:342)\r\n    at /Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.1.0.0@ejs/lib/ejs.js:255:15\r\n    at _compiledSync (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.3.2.2@hexo/lib/theme/view.js:122:20)\r\n    at View.renderSync (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.3.2.2@hexo/lib/theme/view.js:50:21)\r\n    at /Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.3.2.2@hexo/lib/plugins/helper/partial.js:38:21\r\n    at Object.fragmentCache (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.3.2.2@hexo/lib/plugins/helper/fragment_cache.js:9:30)\r\n    at Object.wrapper [as fragment_cache] (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.4.16.6@lodash/lodash.js:4962:19)\r\n    at Object.partial (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.3.2.2@hexo/lib/plugins/helper/partial.js:37:19)\r\n    at Object.wrapper (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.4.16.6@lodash/lodash.js:4962:19)\r\ncategory_map:\r\n    at eval (eval at <anonymous> (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.1.0.0@ejs/lib/ejs.js:242:14), <anonymous>:30:443)\r\n    at eval (eval at <anonymous> (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.1.0.0@ejs/lib/ejs.js:242:14), <anonymous>:30:890)\r\n    at /Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.1.0.0@ejs/lib/ejs.js:255:15\r\n    at _compiled (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.3.2.2@hexo/lib/theme/view.js:127:30)\r\n    at View.render (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.3.2.2@hexo/lib/theme/view.js:29:15)\r\n    at /Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.3.2.2@hexo/lib/theme/view.js:40:23\r\n    at tryCatcher (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.3.4.6@bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.3.4.6@bluebird/js/release/promise.js:510:31)\r\n    at Promise._settlePromise (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.3.4.6@bluebird/js/release/promise.js:567:18)\r\n    at Promise._settlePromise0 (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.3.4.6@bluebird/js/release/promise.js:612:10)\r\n    at Promise._settlePromises (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.3.4.6@bluebird/js/release/promise.js:691:18)\r\n    at Async._drainQueue (/Users/fengmian/workspaces/thinking-work/hexo-test/node_modules/.3.4.6@bluebird/js/release/async.js:138:16)\r\n\r\n^CINFO  See you again\r\n"}}
{"actor":{"display_login":"destinyliu"}}