- Print
- DarkLight
- PDF
Add Comments into Design Templates (Liquid Templates Only)
Article summary
Did you find this summary helpful?
Thank you for your feedback
This is our current template syntax as of 2022. If you are not familiar with/used to this format, please check out our Legacy Templating Articles
Use Cases
- Apply around unfinished code
- Explanation of how a certain signature operator works so that it can be easily found
Comments will not be displayed when emails are sent
Example
{% comment %}
The operator below lets you display the address that matches the sender's location. You can easily add new locations by creating a new {% when " " %} statement, and saving the signature template
{% endcomment %}
{% when "New Jersey"%}
555 Highpoint Lane
Englewood, NJ 07631
{% when "Atlanta" %}
1234 Pleasant Street
Atlanta, GA 30301
{% else %}
1234 HQ Lane
Louisville, KY 40210
{% endcase %}
HTML Code
Rendered Email Signature
Was this article helpful?