summaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorP家单推人 <jkfujr@qq.com>2024-07-29 08:38:28 +0800
committerjkfujr <jkfujr@qq.com>2024-08-11 12:18:49 +0800
commitfcb9e7b4601203c3d9a0ef455a3727502b3e3aa0 (patch)
tree97ceaafbb61d8232f9f61e40ee8243030c1f3494 /layouts/partials/head.html
parent4704defdc8eee9bc5c9ed41c651f21bba2a4b631 (diff)
Update header.html and add support for Umami
- Updated header.html with necessary changes. - Added support for Umami along with relevant configurable options. - Included a new umami.html file for tracking.
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index bf00a74..8f098d1 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -23,3 +23,7 @@
{{ if hugo.IsProduction }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
+
+{{ if .Site.Params.umami.enable }}
+ {{ partial "umami.html" . }}
+{{ end }} \ No newline at end of file