Adds Umami tracking code to <head>

This commit is contained in:
Andrew Gioia 2026-07-31 14:18:13 -04:00
commit 708eb70662
Signed by: andrew
GPG key ID: FC09694A000800C8

View file

@ -37,6 +37,7 @@
<script src="{{ .RelPermalink }}" defer></script>
{{ end }}
{{ end }}
<script defer src="https://analytics.gioia.dev/script.js" data-website-id="abc22a27-8a37-4047-bfb4-3a51d75476ed"></script>
</head>
<body id='{{ with .Params.body.id }}{{ . }}{{ else }}{{ with .Slug }}{{ . }}{{ else }}default{{ end }}{{ end }}'{{ with .Params.body.class }} class='{{ . }}'{{ end }}>
{{- $pageLabel := "" -}}
@ -101,4 +102,4 @@
{{ partial "footer.html" . }}
</footer>
</body>
</html>
</html>