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 2a2dbe8 commit 26e0adcCopy full SHA for 26e0adc
docs/layouts/partials/analytics.html
@@ -1,4 +1,4 @@
1
-{{- if eq (getenv "HUGO_ENV") "production" -}}
+{{- if hugo.IsProduction -}}
2
<!-- Google Tag Manager -->
3
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
4
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
0 commit comments