Another short one. Although Statamic has a great documentation, sometimes I struggle finding basics things like this. So here we go, hope this helps others.
Copied!
{{ if environment == "production" }}
// ... Your code
{{ /if }}
Published
Tags
Another short one. Although Statamic has a great documentation, sometimes I struggle finding basics things like this. So here we go, hope this helps others.
{{ if environment == "production" }}
// ... Your code
{{ /if }}