From 8a5d5f8e485d1f5037d87ffba18cf9c6130e55b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Dav=C3=B3?= Date: Wed, 17 Aug 2022 12:05:44 +0200 Subject: [PATCH] Added matomo support --- README.md | 1 + layouts/partials/analytics.html | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/README.md b/README.md index 5f4c695..a36261e 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ A [Hugo](https://gohugo.io/) theme for a personal portfolio with minimalist desi - GoatCounter - counter.dev - Google Analytics + - Matomo/Piwik - Comment Support - [Disqus](https://disqus.com/) - [Valine](https://valine.js.org/) diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html index 74adeae..11d507d 100644 --- a/layouts/partials/analytics.html +++ b/layouts/partials/analytics.html @@ -40,6 +40,24 @@ src="//gc.zgo.at/count.js" > {{ end }} + + + {{ with .matomo }} + + + {{ end }} {{ end }} {{ end }}