diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index acd6da510b..74a60c83be 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,11 +1,12 @@
{{- $isBlogPost := eq .Section "blog" }}
{{- $ogType := cond (.IsHome) "website" "article" }}
-
-{{- if hugo.IsProduction -}}
-
-{{- else -}}
-
-{{- end -}}
+
+{{ $outputFormat := partial "outputformat.html" . -}}
+{{ if and hugo.IsProduction (ne $outputFormat "print") -}}
+
+{{ else -}}
+
+{{ end -}}
{{ range .Translations -}}