hexo新建md文档推送到blog出错

1. git错误提示

$ hexo g
INFO  Start processing
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Template render error: (unknown path) [Line 10, Column 48]
  unexpected token: }}

2. 解决办法

2.1 Template render error 这是hexo转义时候发生的错误,文章中可能出现了{{}},{% %},可以将出现的代码,用 `进行注释下就可以了。

修改前:此处转义报错
{{}}

修改后:这次正确了
`{{ value }}`

2.2 官网给出的解释

3. 备注

3.1 问题虽然解决了但是页面上的`{{ }}`并没有解析出来,不知道是不是一个bug,有待深究。。。

猜你喜欢

转载自www.cnblogs.com/codebook/p/10085664.html