Switch static jquery serving to bundling and minifying all JS
This commit is contained in:
parent
d5f32d3b27
commit
211cfcef65
1 changed files with 3 additions and 1 deletions
|
@ -222,7 +222,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ $jqueryjs := resources.Get "node/node_modules/jquery/dist/jquery.js" }}
|
{{ $jqueryjs := resources.Get "node/node_modules/jquery/dist/jquery.js" }}
|
||||||
<script src="{{ $jqueryjs.Permalink }}"></script>
|
{{ $alljs := slice $jqueryjs | resources.Concat "js/bundle.js" | resources.Minify }}
|
||||||
|
<script src="{{ $alljs.Permalink }}"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
|
||||||
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
|
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
|
@ -236,6 +237,7 @@
|
||||||
});
|
});
|
||||||
$("#motto").fitText();
|
$("#motto").fitText();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue