diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 075e6fb..f50cf26 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -8,9 +8,6 @@ -{{ if .Site.Params.matomoAnalytics }} -{{- partial "analytitcs/matomo" . -}} -{{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index ad714a0..f00b74c 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -27,6 +27,10 @@ + {{ if .Site.Params.matomoAnalytics }} + {{- partial "matomo" . -}} + {{ end }} + diff --git a/layouts/partials/matomo.html b/layouts/partials/matomo.html new file mode 100644 index 0000000..35052d3 --- /dev/null +++ b/layouts/partials/matomo.html @@ -0,0 +1,18 @@ + + + + +