diff --git a/layouts/partials/meta/google-analytics-async.html b/layouts/partials/meta/google-analytics-async.html index 79d93af..f8224fb 100644 --- a/layouts/partials/meta/google-analytics-async.html +++ b/layouts/partials/meta/google-analytics-async.html @@ -1,4 +1,4 @@ -{{- if .Site.IsServer -}} +{{- if hugo.IsServer -}} {{- else -}} {{- with .Site.Params.google_analytics_id -}} diff --git a/layouts/partials/meta/google-site-verification.html b/layouts/partials/meta/google-site-verification.html index 5f5d0e5..7e14e2e 100644 --- a/layouts/partials/meta/google-site-verification.html +++ b/layouts/partials/meta/google-site-verification.html @@ -1,4 +1,4 @@ -{{- if .Site.IsServer -}} +{{- if hugo.IsServer -}} {{- else -}} {{- if .IsHome -}} diff --git a/layouts/partials/meta/tag-manager.html b/layouts/partials/meta/tag-manager.html index d527032..2209e2a 100644 --- a/layouts/partials/meta/tag-manager.html +++ b/layouts/partials/meta/tag-manager.html @@ -1,4 +1,4 @@ -{{- if .Site.IsServer -}} +{{- if hugo.IsServer -}} {{- else -}} {{- with .Site.Params.tag_manager_container_id -}} diff --git a/layouts/partials/prepend-body.html b/layouts/partials/prepend-body.html index e3c7eac..3cebec8 100644 --- a/layouts/partials/prepend-body.html +++ b/layouts/partials/prepend-body.html @@ -1,4 +1,4 @@ -{{ if .Site.IsServer }} +{{ if hugo.IsServer }} {{ else }} {{- with .Site.Params.tag_manager_container_id -}}