feat: Add fingerprint on js
This commit is contained in:
parent
00a871af7e
commit
fb07c3d0c5
|
@ -1,5 +1,5 @@
|
|||
{{ $main := resources.Get "js/main.js" }}
|
||||
{{ with $main }}
|
||||
{{ $js := . | resources.Minify }}
|
||||
{{ $js := . | resources.Minify | fingerprint }}
|
||||
<script type="text/javascript" src="{{ $js.Permalink }}"></script>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue