feat: Add Plausible partial
This commit is contained in:
parent
cdb7e47a88
commit
c06ff39ffe
|
@ -0,0 +1,4 @@
|
|||
{{ if or (eq hugo.Environment "production") (eq hugo.Environment "staging") }}
|
||||
<script async defer data-api="/api/event" data-domain="{{ (urls.Parse .Site.BaseURL).Host }}" src="/js/script.js"></script>
|
||||
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
|
||||
{{ end }}
|
Loading…
Reference in New Issue