如何逃避液体模板标签?
这听起来很简单,但是我在文档的任何地方都找不到它。 我怎样才能在液体模板中写入{% this %} ,而不会被引擎处理? 
对于未来的search者,有没有插件逃跑的方法,使用下面的代码:
 {{ "{% this " }}%} 
 和标签,以逃避{{ this }}使用: 
 {{ "{{ this " }}}} 
还有一个jekyll插件,这使得它更容易: https : //gist.github.com/1020852
jekyll的原始标签。 保持液体在{%raw%}和{%endraw%}之间parsing文本
参考
 可以使用raw标签禁用液体处理引擎: 
 {% raw %} {% this %} {% endraw %} 
将显示
 {% this %} 
BTW:
 如果你想在Jekyll中显示{{ "{% this " }}%} ,你可以这样编码: 
 {{ "{{ " }}"{{ "{% this" }} " }}{{ "}}%} 
 为了逃避{{ "{{ this " }}}}使用: 
 {{ "{{ " }}"{{ "{{ this" }} " }}{{ "}}}} 
还有另一种select:使用HTML特殊字符代码来replace花括号和它的匹配代码:
- 将每个{replace为{
- 用}replace每个}
有关此解决scheme的更多详细信息,请参阅: http : //www.tikalk.com/devops/curly_brances_workaround/
您可以使用{%raw%} {%endraw%}即,在Jekyll文章中转义液体标签
 {% raw %} {% for post in site.posts %} {{ post.content }} {% endfor %} {% endraw %} 
会产生
 {% raw %} {% for post in site.posts %} {{ post.content }} {% endfor %} {% endraw %} 
我发现了一个无所不能的方式来显示带花括号的任何文本。 您可以将纯文本分配给一个variables,并显示它。
 {% assign var = "{{ sth }}" %} {{ var }}