有没有办法使用Jekyll在HTML文件中注释掉include语句?
例如,我在我的一个HTML文件中有这个,我想暂时注释掉 . 标准HTML评论似乎不起作用 .
{% include navbar.html %}
{% comment %} {% include navbar.html %} {% endcomment %}
杰基尔使用Liquid templating system . 所以无论什么适用于液体为杰基尔工作 .
{% comment %} this is commented out {% endcomment %}
https://help.shopify.com/themes/liquid/tags/theme-tags#comment
2 回答
杰基尔使用Liquid templating system . 所以无论什么适用于液体为杰基尔工作 .
https://help.shopify.com/themes/liquid/tags/theme-tags#comment