hexo:更改主题错误(模板渲染错误:未知块标记:cq)

时间:2016-01-04 16:13:35

标签: node.js hexo

我想要改变hexo主题,然后将Git克隆到主题中,然后执行以下操作:

github.io $ hexo g
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Template render error: unknown block tag: cq
    at Error.exports.TemplateError (/Users/Fantas/Desktop/github.io/node_modules/hexo/node_modules/nunjucks/src/lib.js:51:19)
    at Object.extend.fail (/Users/Fantas/Desktop/github.io/node_modules/hexo/node_modules/nunjucks/src/parser.js:64:15)
    at Object.extend.parseStatement (/Users/Fantas/Desktop/github.io/node_modules/hexo/node_modules/nunjucks/src/parser.js:544:18)
    at /Users/Fantas/Desktop/github.io/node_modules/hexo/lib/extend/tag.js:56:9
    at tryCatcher (/Users/Fantas/Desktop/github.io/node_modules/hexo/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._resolveFromResolver (/Users/Fantas/Desktop/github.io/node_modules/hexo/node_modules/bluebird/js/main/promise.js:480:31)
    at new Promise (/Users/Fantas/Desktop/github.io/node_modules/hexo/node_modules/bluebird/js/main/promise.js:70:37)
    at Tag.render (/Users/Fantas/Desktop/github.io/node_modules/hexo/lib/extend/tag.js:55:10)
    at Object.tagFilter [as onRenderEnd] (/Users/Fantas/Desktop/github.io/node_modules/hexo/lib/hexo/post.js:253:16)
    at /Users/Fantas/Desktop/github.io/node_modules/hexo/lib/hexo/render.js:55:19

1 个答案:

答案 0 :(得分:0)

主题 - 下一个有{% cq %} blah blah blah {% endcq %}

和其他主题无法识别

多么愚蠢

sori