Understand the available liquid tags
{% %}
. The text within the delimiters doesn’t produce visible output when rendered.
In the example below, we check if certificates are enabled for a course. If certificate_enabled
returns true, then we show a message indicating certificates are available. Otherwise, we show that certificates are not available.