Remove asset fingerprinting for JavaScript
This commit is contained in:
parent
5d4a2d8242
commit
59c7d6412b
1 changed files with 3 additions and 3 deletions
|
@ -164,7 +164,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Font Awesome -->
|
<!-- Font Awesome -->
|
||||||
{{ $fontawesome := resources.Get "scripts/fa-icons.js" | js.Build "js/fontawesome.js" | minify | fingerprint }}
|
{{ $fontawesome := resources.Get "scripts/fa-icons.js" | js.Build "js/fontawesome.js" | minify }}
|
||||||
<script src="{{ $fontawesome.RelPermalink }}"></script>
|
<script src="{{ $fontawesome.RelPermalink }}"></script>
|
||||||
|
|
||||||
<!-- JQuery -->
|
<!-- JQuery -->
|
||||||
|
@ -173,14 +173,14 @@
|
||||||
{{ $fittextjs := resources.Get "scripts/fittext/jquery.fittext.js" | minify }}
|
{{ $fittextjs := resources.Get "scripts/fittext/jquery.fittext.js" | minify }}
|
||||||
{{ $scrolljs := resources.Get "scripts/scroll-effect.js" | minify }}
|
{{ $scrolljs := resources.Get "scripts/scroll-effect.js" | minify }}
|
||||||
{{ $maskjs := resources.Get "scripts/phone-masking.js" | minify }}
|
{{ $maskjs := resources.Get "scripts/phone-masking.js" | minify }}
|
||||||
{{ $jquerybundle := slice $jquery $jqmaskjs $fittextjs $scrolljs $maskjs | resources.Concat "js/jquery-bundle.js" | fingerprint }}
|
{{ $jquerybundle := slice $jquery $jqmaskjs $fittextjs $scrolljs $maskjs | resources.Concat "js/jquery-bundle.js" }}
|
||||||
<script src="{{ $jquerybundle.RelPermalink }}"></script>
|
<script src="{{ $jquerybundle.RelPermalink }}"></script>
|
||||||
|
|
||||||
<!-- Bootstrap -->
|
<!-- Bootstrap -->
|
||||||
{{ $popperjs := resources.Get "scripts/popper/popper.min.js" }}
|
{{ $popperjs := resources.Get "scripts/popper/popper.min.js" }}
|
||||||
{{ $twbsjs := resources.Get "scripts/bootstrap/bootstrap.min.js" }}
|
{{ $twbsjs := resources.Get "scripts/bootstrap/bootstrap.min.js" }}
|
||||||
{{ $ttjs := resources.Get "scripts/tooltip-enable.js" | minify }}
|
{{ $ttjs := resources.Get "scripts/tooltip-enable.js" | minify }}
|
||||||
{{ $bootstrapbundle := slice $popperjs $twbsjs $ttjs | resources.Concat "js/bootstrap-bundle.js" | fingerprint }}
|
{{ $bootstrapbundle := slice $popperjs $twbsjs $ttjs | resources.Concat "js/bootstrap-bundle.js" }}
|
||||||
<script src="{{ $bootstrapbundle.RelPermalink }}"></script>
|
<script src="{{ $bootstrapbundle.RelPermalink }}"></script>
|
||||||
|
|
||||||
<!-- GoatCounter -->
|
<!-- GoatCounter -->
|
||||||
|
|
Loading…
Reference in a new issue