Modernizing this invocation

drafts
Nick Dumas 5 months ago
parent 4ed03518bb
commit de6cf5fb2a

@ -1,2 +1,2 @@
{{ $trimmedURL := trim (index (split .Site.BaseURL "://") 1) "/" }}
{{ $trimmedURL := trim (index (split (urls.AbsURL "") "://") 1) "/" }}
<script defer data-domain="{{ $trimmedURL }}" src="https://analytics.ndumas.com/js/script.js"></script>

Loading…
Cancel
Save