OldWoodMan/layouts/partials/head.html
2024-03-22 10:11:01 -06:00

11 lines
373 B
HTML

{{ $css := resources.Get "css/styles.css" }}
{{ if hugo.IsProduction}}
{{ $css = $css | minify | fingerprint }}
{{ end }}
<link rel="stylesheet" href="{{ $css.RelPermalink }}"></link>
{{ with site.Params.plausible_domain }}
<script defer data-domain="{{ . }}" src="https://plausible.io/js/plausible.js"></script>
{{ end }}
Content-Security-Policy: default-src 'self'