Want a script to only run on Production? I don’t recommend this, as that can make it difficult for testing functionality locally

1
2
3
4
5
{{ if in (.Site.BaseURL | string) "www.example.com" }}
<script>
    // ... script / code goes here 
</script>
{{ end }}