Load async scripts with defer
This commit is contained in:
parent
829e6d395d
commit
d9b53e3316
1 changed files with 1 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
|||
{{ $script := resources.Get . | minify | fingerprint }}
|
||||
<script type="text/javascript" async src="{{ $script.RelPermalink }}" integrity="{{ $script.Data.Integrity }}"></script>
|
||||
<script type="text/javascript" async defer src="{{ $script.RelPermalink }}" integrity="{{ $script.Data.Integrity }}"></script>
|
||||
|
|
Loading…
Reference in a new issue