mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 10:38:26 -04:00
21 lines
875 B
HTML
21 lines
875 B
HTML
{{ if eq hugo.Environment "production" }}<script>
|
|
var _paq = _paq || [];
|
|
_paq.push(['setRequestMethod', 'POST']);
|
|
_paq.push(['setSecureCookie', true]);
|
|
_paq.push(['trackPageView']);
|
|
_paq.push(['enableLinkTracking']);
|
|
(function() {
|
|
var u='https://stats.jarv.is/';
|
|
_paq.push(['setTrackerUrl', u+'send']);
|
|
_paq.push(['setSiteId', '1']);
|
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
|
g.async=true; g.defer=true; g.src=u+'stats.js'; s.parentNode.insertBefore(g,s);
|
|
})();
|
|
</script>{{ end }}
|
|
</body>
|
|
</html>
|
|
|
|
{{"<!--" | safeHTML}} {{ hugo.Environment }} {{"-->" | safeHTML}}
|
|
{{"<!--" | safeHTML}} {{ time.Now.UTC.Format "2006-01-02T15:04:05" }} {{"-->" | safeHTML}}
|
|
{{"<!--" | safeHTML}} {{ hugo.Version }} ({{ hugo.CommitHash }}) {{"-->" | safeHTML}}
|