hexo generate遇到了问题 Template render error

这个错误很磨人啊 我卸载了hexo重新安装 如果new文章就会出现 不知道为何
报错信息如下:
<pre>FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Template render error: unknown block tag: ld

at Error.exports.TemplateError (/Users/wsgdrfz/blog/node_modules/nunjucks/src/lib.js:51:19)
at Object.extend.fail (/Users/wsgdrfz/blog/node_modules/nunjucks/src/parser.js:64:15)
at Object.extend.parseStatement (/Users/wsgdrfz/blog/node_modules/nunjucks/src/parser.js:544:18)
at Object.extend.parseNodes (/Users/wsgdrfz/blog/node_modules/nunjucks/src/parser.js:1151:30)
at Object.extend.parseAsRoot (/Users/wsgdrfz/blog/node_modules/nunjucks/src/parser.js:1177:42)
at Object.module.exports.parse (/Users/wsgdrfz/blog/node_modules/nunjucks/src/parser.js:1199:18)
at Object.module.exports.compile (/Users/wsgdrfz/blog/node_modules/nunjucks/src/compiler.js:1118:48)
at Obj.extend._compile (/Users/wsgdrfz/blog/node_modules/nunjucks/src/environment.js:444:35)
at Obj.extend.compile (/Users/wsgdrfz/blog/node_modules/nunjucks/src/environment.js:433:18)
at null.<anonymous> (/Users/wsgdrfz/blog/node_modules/nunjucks/src/environment.js:378:22)
at Object.exports.withPrettyErrors (/Users/wsgdrfz/blog/node_modules/nunjucks/src/lib.js:24:16)
at Obj.extend.render (/Users/wsgdrfz/blog/node_modules/nunjucks/src/environment.js:374:20)
at Obj.extend.renderString (/Users/wsgdrfz/blog/node_modules/nunjucks/src/environment.js:261:21)
at /Users/wsgdrfz/blog/node_modules/hexo/lib/extend/tag.js:56:9
at tryCatcher (/Users/wsgdrfz/blog/node_modules/bluebird/js/main/util.js:26:23)
at Promise._resolveFromResolver (/Users/wsgdrfz/blog/node_modules/bluebird/js/main/promise.js:480:31)
at new Promise (/Users/wsgdrfz/blog/node_modules/bluebird/js/main/promise.js:70:37)
at Tag.render (/Users/wsgdrfz/blog/node_modules/hexo/lib/extend/tag.js:55:10)
at Object.tagFilter [as onRenderEnd] (/Users/wsgdrfz/blog/node_modules/hexo/lib/hexo/post.js:253:16)
at /Users/wsgdrfz/blog/node_modules/hexo/lib/hexo/render.js:55:19
at tryCatcher (/Users/wsgdrfz/blog/node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (/Users/wsgdrfz/blog/node_modules/bluebird/js/main/promise.js:507:31)
at Promise._settlePromiseAt (/Users/wsgdrfz/blog/node_modules/bluebird/js/main/promise.js:581:18)
at Promise._settlePromises (/Users/wsgdrfz/blog/node_modules/bluebird/js/main/promise.js:697:14)
at Async._drainQueue (/Users/wsgdrfz/blog/node_modules/bluebird/js/main/async.js:123:16)
at Async._drainQueues (/Users/wsgdrfz/blog/node_modules/bluebird/js/main/async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (/Users/wsgdrfz/blog/node_modules/bluebird/js/main/async.js:15:14)
at processImmediate [as _immediateCallback] (timers.js:383:17)
</pre><code>
阅读 9.1k
评论
    6 个回答
    • 2.6k
    Template render error: unknown block tag: ld

    你的MD文件里是不是有ld这个标签?

      相似问题
      推荐文章