Skip to content

Commit 9c1e122

Browse files
committed
Only add Umami in production
1 parent 28dd297 commit 9c1e122

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!-- Umami Analytics START -->
2+
{{- if hugo.IsProduction }}
3+
<script async defer data-website-id="{{ .Site.Params.umami.siteID }}" src="{{ .Site.Params.umami.scriptURL }}"></script>
4+
{{- end }}
5+
<!-- Umami Analytics END -->

0 commit comments

Comments
 (0)