<squarespace:script src="plugin.js" combo="true" /> <squarespace:script src="site.js" combo="true" />
NOTE: The script's src path is relative to the template
/scripts folder, and link to those files using regular script tags, or the Squarespace Script Tag.
You can use libraries hosted on an external server or CDN, but we recommend having a local fallback in case the CDN isn’t available. Here’s an example:
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script> <script> window.jQuery || document.write('<script src="scripts/jquery-2.2.1.min.js"><\/script>') </script>