fix(analytics): Matomo analytics (#817)

* fix: Matomo analytics

* chore: use with

* Revert "chore: use with"

This reverts commit 1d86e6fa0f.

---------

Co-authored-by: Xin <xin@imfing.com>
This commit is contained in:
Ludovic Fernandez
2025-09-03 11:53:27 +02:00
committed by GitHub
parent cc5884dd2a
commit 184ee25011
2 changed files with 14 additions and 2 deletions

View File

@@ -6,11 +6,11 @@ https://umami.is/docs/tracker-configuration
{{- with .Site.Params.analytics.umami -}}
{{- if not .serverURL }}
{{- errorf "Missing Umami 'serverURL' configuration. See TODO" -}}
{{- errorf "Missing Umami 'serverURL' configuration. See https://imfing.github.io/hextra/versions/latest/docs/guide/configuration/#umami-analytics" -}}
{{- end -}}
{{- if not .websiteID }}
{{- errorf "Missing Umami 'websiteID' configuration. See TODO" -}}
{{- errorf "Missing Umami 'websiteID' configuration. See https://imfing.github.io/hextra/versions/latest/docs/guide/configuration/#umami-analytics" -}}
{{- end -}}
{{- $attributes := newScratch -}}