diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 508b391..482d7e9 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -27,3 +27,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 diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 446fb19..bd17f38 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -11,8 +11,9 @@ {{ with site.Params.menu }} {{ range . }} +
- + /{{.name }}
@@ -22,4 +23,4 @@ {{ end }} - \ No newline at end of file + diff --git a/layouts/partials/umami.html b/layouts/partials/umami.html new file mode 100644 index 0000000..1ef689b --- /dev/null +++ b/layouts/partials/umami.html @@ -0,0 +1,6 @@ +