diff --git a/src/layouts/partials/head.html b/src/layouts/partials/head.html index b1b5f1713..31ce3eb3c 100644 --- a/src/layouts/partials/head.html +++ b/src/layouts/partials/head.html @@ -24,4 +24,6 @@ {{ partial "stylesheet" . -}} {{ partial "favicons" . -}} {{ partial "social" . -}} +{{- if hugo.IsProduction }} {{ partial "analytics" . -}} +{{- end }}