diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 261eea68..92b67eea 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,7 +1,7 @@
-{{- if hugo.IsProduction | or (eq site.Params.env "production") }}
+{{- if hugo.IsProduction | or (eq site.Params.env "production") | and (ne .Params.offTheRecord true) }}
{{- else }}
@@ -12,7 +12,7 @@
{{- /* Meta */}}
{{- if .IsHome }}
-{{ with site.Params.keywords -}}{{ end }}
+{{ with .Site.Params.keywords -}}{{ end }}
{{- else }}