pics/layouts/partials/partialheader.html

8 lines
320 B
HTML
Raw Normal View History

2019-01-23 22:56:21 +01:00
{{ 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 }}