add umami tracking option to theme
This commit is contained in:
parent
a494811518
commit
344d72d509
1 changed files with 4 additions and 0 deletions
|
@ -55,5 +55,9 @@
|
|||
{{ partial "footer" (dict "Footer" .Site.Params.footer "useFontAwesome" .Site.Params.useFontAwesome) }}
|
||||
</footer>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.umami }}
|
||||
<script async src="{{ .Site.Params.umami.script }}" data-website-id="{{ .Site.Params.umami.websiteid }}"></script>
|
||||
{{ end }}
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue