32
有沒有辦法在使用Jekyll的HTML文件中註釋include語句?使用Jekyll註釋掉HTML文件中的include語句
例如,我在我的一個HTML文件中有這個,我想暫時註釋掉。標準的HTML評論似乎不起作用。
{% include navbar.html %}
有沒有辦法在使用Jekyll的HTML文件中註釋include語句?使用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