captainarkdotnet/layouts/partials/partialheader.html

21 lines
825 B
HTML
Raw Normal View History

2019-01-06 17:58:41 +01:00
{{ if eq (printf "%v" $.Site.BaseURL) "http://localhost:1313/" }}
{{"<!-- Not loading Fathom on localhost //-->" | safeHTML}}
{{ else }}
2019-01-06 16:29:44 +01:00
<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->
<script>
(function(f, a, t, h, o, m){
a[h]=a[h]||function(){
(a[h].q=a[h].q||[]).push(arguments)
};
o=f.createElement('script'),
m=f.getElementsByTagName('script')[0];
o.async=1; o.src=t; o.id='fathom-script';
m.parentNode.insertBefore(o,m)
})(document, window, '//stats.captainark.net/tracker.js', 'fathom');
2019-01-06 18:59:30 +01:00
fathom('set', 'siteId', 'BYKXT');
2019-01-06 16:29:44 +01:00
fathom('trackPageview');
</script>
<!-- / Fathom -->
2019-01-06 17:58:41 +01:00
{{ end }}
2019-01-06 16:29:44 +01:00
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">