pics/layouts/partials/partialheader.html
2019-01-23 22:56:21 +01:00

8 lines
320 B
HTML

{{ if eq (printf "%v" $.Site.BaseURL) "http://localhost:1313/" }}
{{"<!-- Not loading Fathom on localhost //-->" | safeHTML}}
{{ else }}
<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->
<script type="text/javascript" src="{{"js/stats.js" | relURL}}"></script>
<!-- / Fathom -->
{{ end }}