Distinguish production from development

Since version 0.53 the following code works perfectly:

{{ if eq hugo.Environment "production" }}
<yourhtml />
{{ end }}
4 Likes