24 lines
977 B
HTML
24 lines
977 B
HTML
<script defer src='/js/headroom.min.js'></script>
|
|
<script defer src='/js/simple-lightbox.min.js'></script>
|
|
{{- $mainScriptPath := "js/brainbaking.js" }}
|
|
{{- $scripts := resources.Get $mainScriptPath | resources.ExecuteAsTemplate $mainScriptPath . | babel | resources.Minify | resources.Fingerprint "sha512" }}
|
|
<script defer src='{{ $scripts.Permalink }}'></script>
|
|
|
|
{{- if (ne hugo.Environment "development") }}
|
|
<!-- 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, 'https://fathom.brainbaking.com/tracker.js', 'fathom');
|
|
fathom('set', 'siteId', '{{ .Site.Params.fathomid }}');
|
|
fathom('trackPageview');
|
|
</script>
|
|
<!-- / Fathom -->
|
|
{{- end }}
|