mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-27 23:34:24 +01:00
Fixed js load order
This commit is contained in:
parent
e5fa89fb01
commit
883df7f78d
1 changed files with 4 additions and 0 deletions
|
@ -65,6 +65,10 @@
|
|||
<script src="{{ site.Params.map.gmap_api | safeURL }}"></script>
|
||||
{{ end }}
|
||||
|
||||
{{ "<!-- Main Script --> " | safeHTML }}
|
||||
{{ $script := resources.Get "js/script.js" | minify | fingerprint "sha384" }}
|
||||
<script src="{{ $script.Permalink }}" integrity="{{ $script.Data.Integrity }}"></script>
|
||||
|
||||
{{ if site.Params.cookies.enable }}
|
||||
{{ "<!-- Cookie Box -->" | safeHTML }}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/2.2.1/js.cookie.min.js"></script>
|
||||
|
|
Loading…
Reference in a new issue