From f7acfb0882dde8e53a66c6c35054b953a67c637e Mon Sep 17 00:00:00 2001 From: Augusto Pace Date: Sun, 12 May 2024 12:42:44 +0200 Subject: [PATCH] chore: added support to on-premise deployment of umami service --- exampleSite/hugo.yaml | 4 +++- layouts/partials/analytics.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/exampleSite/hugo.yaml b/exampleSite/hugo.yaml index 3885fee..a9093ce 100644 --- a/exampleSite/hugo.yaml +++ b/exampleSite/hugo.yaml @@ -174,8 +174,10 @@ params: # matomo: # instance: matomo.example.com # siteId: 1 # Or any other number - # # Matomo / Piwik + # # Umami # umami: + # proto: https + # instance: umami.example.com # id: # Enable Support diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html index 311469a..5115302 100644 --- a/layouts/partials/analytics.html +++ b/layouts/partials/analytics.html @@ -54,7 +54,7 @@ {{ with .umami }} - + {{end}} {{ end }}