aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/partials/head.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index c974111..96874c4 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -11,7 +11,7 @@
</div>
{{- partial "footer.html" . -}}
- {{ if and (not .Site.IsServer) .Site.Data.consent }}
+ {{ if and (not hugo.IsServer) .Site.Data.consent }}
{{- partial "consent.html" . -}}
{{ end }}
</body>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 0e97a2c..653327e 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -21,7 +21,7 @@
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
- {{ if not .Site.IsServer }}
+ {{ if not hugo.IsServer }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
</head>