逃离液体模板标签

使用 {% raw %} 标签,如果您正在使用 Jekyll 模板,并且需要能够逃避一些液态标签。

1{% raw %}
2  I want {{% this %}} now!
3{% endraw %}

在逃脱的内容中,您可以使用三个弯曲的支架添加非逃脱的标签:

1{% raw %}
2  I want {{% this %}},
3  but I don't want {{{ that }}}!
4{% endraw %}
Published At
Categories with 技术
Tagged with
comments powered by Disqus