Parameterize UTC offset for Counter analytics
parent
5c3ac08fc1
commit
e2062f37ee
@ -1,5 +1,5 @@
|
|||||||
{{ $page := . }}
|
{{ $page := . }}
|
||||||
|
|
||||||
{{ with $page.Param "paige.analytics.counter" }}
|
{{ with $page.Param "paige.analytics.counter" }}
|
||||||
<script src="https://cdn.counter.dev/script.js" data-id="{{ .account_id }}" data-utcoffset="-7"></script>
|
<script src="https://cdn.counter.dev/script.js" data-id="{{ .account_id }}" data-utcoffset="{{ .utc_offset }}"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue