Issue
What is the correct way to comment out in the Liquid templating language?
Solution
In Liquid you comment out using the {% comment %}
and {% endcomment %}
tags:
{% comment %} This is a comment in Liquid {% endcomment %}
It doesn't matter if the comment is inline or a block comment.
{% comment %}
This is a block comment in Liquid
{% endcomment %}
Answered By - Martin Buberl Answer Checked By - David Marino (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.