diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c9e04f00..b2fa47bc 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -36,7 +36,7 @@ {{- end }} - {{- if not .IsServer }} + {{- if not hugo.IsServer }} {{- if hasPrefix .Site.Config.Services.GoogleAnalytics.ID "G-" }} {{ template "_internal/google_analytics.html" . }} {{- else }}