add umami tracking option to theme

This commit is contained in:
Adora Laura Kalb 2023-12-26 13:55:30 +01:00
parent a494811518
commit 344d72d509
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056

View file

@ -55,5 +55,9 @@
{{ partial "footer" (dict "Footer" .Site.Params.footer "useFontAwesome" .Site.Params.useFontAwesome) }} {{ partial "footer" (dict "Footer" .Site.Params.footer "useFontAwesome" .Site.Params.useFontAwesome) }}
</footer> </footer>
{{ end }} {{ end }}
{{ if .Site.Params.umami }}
<script async src="{{ .Site.Params.umami.script }}" data-website-id="{{ .Site.Params.umami.websiteid }}"></script>
{{ end }}
</body> </body>
</html> </html>