hexo-theme-indigo-plus
hexo-theme-indigo-plus copied to clipboard
Unhandled rejection ReferenceError
hexo g
可以正常生成,但是hexo s
的启动的时候访问会报如下的错:
Unhandled rejection ReferenceError: ./MyBlog/themes/indigo-plus/layout/post.ejs:9
7| %>
8| <div class="container body-wrap">
>> 9| <%- partial('_partial/post', {post: page }) %>
10| </div>
11|
.//MyBlog/themes/indigo-plus/layout/_partial/post.ejs:17
15| </div>
16|
>> 17| <%- partial('post/copyright') %>
18| <%- partial('post/reward-btn') %>
19|
20| <div class="post-footer">
./MyBlog/themes/indigo-plus/layout/_partial/post/copyright.ejs:6
4| <%- partial('updated') %>
5| <% if(theme.postMessage) {%>
>> 6| <%- _.template(theme.postMessage)(locals) %>
7| <% } %>
8| </div>
9| <% } %>
_ is not defined
at eval (./MyBlog/themes/indigo-plus/layout/_partial/post/copyright.ejs:21:17)
at copyright (./MyBlog/node_modules/ejs/lib/ejs.js:682:17)
at _View._compiledSync (./MyBlog/node_modules/hexo/lib/theme/view.js:132:24)
at _View.renderSync (./MyBlog/node_modules/hexo/lib/theme/view.js:59:25)
at Object.partial (./MyBlog/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
at eval (./MyBlog/themes/indigo-plus/layout/_partial/post.ejs:39:17)
at post (./MyBlog/node_modules/ejs/lib/ejs.js:682:17)
at _View._compiledSync (./MyBlog/node_modules/hexo/lib/theme/view.js:132:24)
at _View.renderSync (./MyBlog/node_modules/hexo/lib/theme/view.js:59:25)
at Object.partial (./MyBlog/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
at eval (./MyBlog/themes/indigo-plus/layout/post.ejs:23:17)
at post (./MyBlog/node_modules/ejs/lib/ejs.js:682:17)
at _View._compiled (./MyBlog/node_modules/hexo/lib/theme/view.js:136:50)
at _View.render (./MyBlog/node_modules/hexo/lib/theme/view.js:39:17)
at ./MyBlog/node_modules/hexo/lib/hexo/index.js:64:21
at tryCatcher (./MyBlog/node_modules/bluebird/js/release/util.js:16:23)
at ./MyBlog/node_modules/bluebird/js/release/method.js:15:34
at RouteStream._read (./MyBlog/node_modules/hexo/lib/hexo/router.js:47:5)
at RouteStream.Readable.read (internal/streams/readable.js:481:10)
at resume_ (internal/streams/readable.js:977:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)