Switch static jquery serving to bundling and minifying all JS

pull/5/head
parent d5f32d3b27
commit 211cfcef65
Signed by: millironx
GPG Key ID: 139C07724802BC5D

@ -222,7 +222,8 @@
</div>
{{ $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"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
@ -236,6 +237,7 @@
});
$("#motto").fitText();
</script>
</body>
</html>

Loading…
Cancel
Save