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