【发布时间】:2012-06-04 15:16:08
【问题描述】:
我正在使用 Octopress 写博客。但是原来它不支持Tex,所以我在网上寻求了一些指导。最后,我没有使用Tex&markdown。
更糟糕的是,出现以下问题:
lo@lo:~/blog/octopress$ rake generate
## Generating Site with Jekyll
unchanged sass/screen.scss
unchanged sass/syntax/syntax.scss
unchanged sass/bootstrap/responsive.scss
unchanged sass/bootstrap/bootstrap.scss
Configuration from /home/lo/blog/octopress/_config.yml
Building site: source -> public
Liquid Exception: Variable '{{' was not properly terminated with regexp: /\}\}/ in atom.xml
Liquid Exception: Variable '{{' was not properly terminated with regexp: /\}\}/ in atom.xml
Liquid Exception: Variable '{{' was not properly terminated with regexp: /\}\}/ in atom.xml
Successfully generated site: source -> public
lo@lo:~/blog/octopress$`
现在我不知道如何解决它。
我尝试diff/octopress 和/octopress.bk 中的所有文件。
最后,我发现我在*.markdown.中使用了错误的语法
我写了\{\{\{ \}\}\},这导致了问题。
现在我解决了。
【问题讨论】:
标签: ruby regex liquid octopress