tidying this up
continuous-integration/drone/push Build is passing Details

drafts
Nick Dumas 5 months ago
parent 4f2d7b319b
commit b364e59f19

@ -74,5 +74,14 @@
[[footer]] [[footer]]
name = "Analytics" name = "Analytics"
pre = "eye" pre = "eye"
url = "https://analytics.ndumas.com/blog.ndumas.com"
weight = 20 weight = 20
[[footer]]
name = "Live"
url = "https://analytics.ndumas.com/blog.ndumas.com"
weight = 50
[[footer]]
name = "Dev"
url = "https://analytics.ndumas.com/dev.ndumas.com"
weight = 50

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

Loading…
Cancel
Save