mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-21 17:05:38 +01:00
layouts: disable SRI fingerprinting ...
... since CORS policy is not possible to set in GitHub Pages
This commit is contained in:
parent
3fd2b76d92
commit
703e054972
@ -101,8 +101,8 @@
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
{{ $mainJs := resources.Match "js/**.js" | resources.Concat "js/script.js" | minify | fingerprint }}
|
||||
<script src="{{ $mainJs.Permalink }}" integrity="{{ $mainJs.Data.Integrity }}" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
{{ $mainJs := resources.Match "js/**.js" | resources.Concat "js/script.js" | minify }}
|
||||
<script src="{{ $mainJs.Permalink }}"></script>
|
||||
{{- block "scripts" . }}{{- end }}
|
||||
|
||||
{{- if eq (getenv "HUGO_ENV") "PRD" }}
|
||||
|
Loading…
Reference in New Issue
Block a user