mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-22 13:15: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>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ $mainJs := resources.Match "js/**.js" | resources.Concat "js/script.js" | minify | fingerprint }}
|
{{ $mainJs := resources.Match "js/**.js" | resources.Concat "js/script.js" | minify }}
|
||||||
<script src="{{ $mainJs.Permalink }}" integrity="{{ $mainJs.Data.Integrity }}" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
<script src="{{ $mainJs.Permalink }}"></script>
|
||||||
{{- block "scripts" . }}{{- end }}
|
{{- block "scripts" . }}{{- end }}
|
||||||
|
|
||||||
{{- if eq (getenv "HUGO_ENV") "PRD" }}
|
{{- if eq (getenv "HUGO_ENV") "PRD" }}
|
||||||
|
Loading…
Reference in New Issue
Block a user