Add a early js script.
This commit is contained in:
parent
35c1c9f20f
commit
88054afa22
1 changed files with 16 additions and 2 deletions
|
|
@ -1,3 +1,5 @@
|
|||
{{ $early := resources.Get "js/script-early.js" | minify | fingerprint -}}
|
||||
<script src="{{ $early.RelPermalink }}"></script>
|
||||
{{ if $.Param "jquery" -}}
|
||||
{{ $jquery := resources.Get "js/lib/jquery.slim.min.js" | fingerprint -}}
|
||||
<script defer src="{{ $jquery.RelPermalink }}"></script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue