Unhandled rejection TypeError: /home/hyb/workspaces/hexo/themes/jacman/layout/page.ejs:1
>> 1| <%- partial('_partial/post/article', {item: page, index: false,table: false}) %>
src.indexOf is not a function
at Hexo.<anonymous> (/home/hyb/workspaces/hexo/node_modules/hexo-math/bin/index.js:48:19)
at Filter.execSync (/home/hyb/workspaces/hexo/node_modules/hexo/lib/extend/filter.js:88:25)
at Hexo.execFilterSync (/home/hyb/workspaces/hexo/node_modules/hexo/lib/hexo/index.js:438:29)
at Theme._View.View._compiledSync (/home/hyb/workspaces/hexo/node_modules/hexo/lib/theme/view.js:123:33)
at Theme._View.View.View.renderSync (/home/hyb/workspaces/hexo/node_modules/hexo/lib/theme/view.js:50:21)
at Object.partial (/home/hyb/workspaces/hexo/node_modules/hexo/lib/plugins/helper/partial.js:42:17)
at Object.wrapper [as partial] (/home/hyb/workspaces/hexo/node_modules/lodash/lodash.js:4968:19)
at eval (eval at compile (/home/hyb/workspaces/hexo/node_modules/ejs/lib/ejs.js:549:12), <anonymous>:9:17)
at returnedFn (/home/hyb/workspaces/hexo/node_modules/ejs/lib/ejs.js:580:17)
at Theme._View.View._compiled (/home/hyb/workspaces/hexo/node_modules/hexo/lib/theme/view.js:127:30)
at Theme._View.View.View.render (/home/hyb/workspaces/hexo/node_modules/hexo/lib/theme/view.js:29:15)
at /home/hyb/workspaces/hexo/node_modules/hexo/lib/hexo/index.js:390:25
at tryCatcher (/home/hyb/workspaces/hexo/node_modules/bluebird/js/release/util.js:16:23)
at /home/hyb/workspaces/hexo/node_modules/bluebird/js/release/method.js:15:34
at RouteStream._read (/home/hyb/workspaces/hexo/node_modules/hexo/lib/hexo/router.js:134:3)
at RouteStream.Readable.read (_stream_readable.js:445:10)
at resume_ (_stream_readable.js:825:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
你好,配置主题之后,使用hexo g生成,报错如下:
在将source下的以html为后缀的文件重命名之后回复正常。
请问能否在生成时,忽略对html的处理,这样可能会好一点,不知作者意下如何?