From 1d4b612a4438ba6fcc2271da4e6c66749e8c9c57 Mon Sep 17 00:00:00 2001
From: Alphonse Mariya <alphonse.mariya@hotmail.com>
Date: Fri, 22 Jan 2021 16:39:34 +0000
Subject: [PATCH] Add support for Matomo (formerly Piwik) (#508)
---
layouts/_default/baseof.html | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 435808f..dcdb107 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -145,6 +145,10 @@
{{ if and .Site.Params.cloudflare .Site.Params.cloudflare.token }}
{{- partial "analytics/cloudflare" . -}}
{{ end }}
+
+ {{ if and .Site.Params.matomo .Site.Params.matomo.serverURL }}
+ {{- partial "analytics/matomo" . -}}
+ {{ end }}
</body>
</html>
--
Gitblit v1.10.0