We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 631d1eb commit 49d73dcCopy full SHA for 49d73dc
layouts/partials/head.html
@@ -6,7 +6,7 @@
6
{{- else -}}
7
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
8
{{- end -}}
9
-{{- if eq hugo.Environment "production" -}}
+{{- if in (slice "production" "nonprod") hugo.Environment -}}
10
<!-- Global site tag (gtag.js) - Google Analytics -->
11
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-36037335-10"></script>
12
<script>
0 commit comments