integrate umami
This commit is contained in:
parent
11af0db9a2
commit
677808fa3d
1 changed files with 6 additions and 0 deletions
|
@ -26,6 +26,12 @@
|
||||||
<link rel="alternate" hreflang="{{ .Language.Lang }}" href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
|
<link rel="alternate" hreflang="{{ .Language.Lang }}" href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
<!-- Umami Analytics -->
|
||||||
|
{{ if eq .Site.Params.analytics.provider "umami" }}
|
||||||
|
{{ with .Site.Params.analytics.umami }}
|
||||||
|
<script async src="{{ .server }}/script.js" data-website-id="{{ .websiteID }}"></script>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
</head>
|
</head>
|
||||||
<script>
|
<script>
|
||||||
// default to system color scheme.
|
// default to system color scheme.
|
||||||
|
|
Loading…
Reference in a new issue