Skip to content

Commit 26e0adc

Browse files
committed
docs: update hugo functions
1 parent 2a2dbe8 commit 26e0adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/layouts/partials/analytics.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if eq (getenv "HUGO_ENV") "production" -}}
1+
{{- if hugo.IsProduction -}}
22
<!-- Google Tag Manager -->
33
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
44
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],

0 commit comments

Comments
 (0)