From fcb9e7b4601203c3d9a0ef455a3727502b3e3aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=E5=AE=B6=E5=8D=95=E6=8E=A8=E4=BA=BA?= Date: Mon, 29 Jul 2024 08:38:28 +0800 Subject: 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. --- layouts/partials/head.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'layouts/partials/head.html') 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 -- cgit v1.2.3