tidying this up
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
4f2d7b319b
commit
b364e59f19
@ -1,2 +1,2 @@
|
||||
{{ $baseURL := urls.AbsURL "" }}
|
||||
<script defer data-domain='{{ if eq $baseURL "https://blog.ndumas.com" }}blog.ndumas.com{{ else }}dev.blog.ndumas.com{{ end }}' src="https://analytics.ndumas.com/js/script.js"></script>
|
||||
{{ $trimmedURL := trim (index (split .Site.BaseURL "://") 1) "/" }}
|
||||
<script defer data-domain="{{ $trimmedURL }}" src="https://analytics.ndumas.com/js/script.js"></script>
|
||||
|
Loading…
Reference in New Issue