Skip to content

Commit 87b923b

Browse files
splusqbep
authored andcommitted
Make this compatible with v0.120.0 of hugo
1 parent 208a9e3 commit 87b923b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{{ block "main" . -}}{{- end }}
66
</main>
77

8-
{{ if not .Site.IsServer }}
8+
{{ if ne hugo.Environment "development" }}
99
{{ template "_internal/google_analytics.html" . }}
1010
{{ end }}
1111
</body>

0 commit comments

Comments
 (0)