diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index f00b74c..f0219eb 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -27,10 +27,9 @@
- {{ if .Site.Params.matomoAnalytics }}
- {{- partial "matomo" . -}}
- {{ end }}
-
+ {{ if .Site.Params.matomoAnalytics }}
+ {{- partial "matomo" . -}}
+ {{ end }}