Skip to content

Commit e0664cf

Browse files
authored
fix conditional (#34)
1 parent 4b2e078 commit e0664cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{- template "_internal/opengraph.html" . -}}
22
{{- template "_internal/schema.html" . -}}
33
{{- template "_internal/twitter_cards.html" . -}}
4-
{{- if eq (getenv "HUGO_ENV") "production" }}
5-
{{- template "_internal/google_analytics_async.html" . }}
6-
{{- end }}
4+
{{- if hugo.IsProduction }}
5+
{{- template "_internal/google_analytics.html" . }}
6+
{{- end -}}

0 commit comments

Comments
 (0)