Correct way to include include scripts I am including head.html and scripts.html in my template. Most of the scripts load except for 2 yet the path is the same for all of them. I {% include %} them.





If I change foundation.min.js to foundation.js it works. The min file exists. 

Update:
This is because JS files are checked for errors before being loaded. For example, if I visit those URL's directly it will show me an error. Any way to stop that?

http://craft.dev/bower_components/foundation/js/foundation.min.js



Update:

&lt;script src="/bower_components/jquery/dist/jquery.min.js"&gt;&lt;/script&gt;
&lt;script src="/bower_components/foundation/js/foundation.min.js"&gt;&lt;/script&gt;
&lt;script src="/bower_components/imagesloaded/imagesloaded.pkgd.min.js"&gt;&lt;/script&gt;
&lt;script src="/bower_components/velocity/velocity.min.js"&gt;&lt;/script&gt;
&lt;script src="/bower_components/velocity/velocity.ui.min.js"&gt;&lt;/script&gt;
&lt;script src="/bower_components/wookmark-jquery/jquery.wookmark.min.js"&gt;&lt;/script&gt;
&lt;script src="/js/app.js"&gt;&lt;/script&gt;
One way to include JS (or CSS) files, is to use the includeJsFile tag.
This tag will queue your file and append to the end of the &lt;body&gt;.
If, for some reason, you don't want this (say you want to include JQuery in the &lt;head&gt;), I would just use &lt;script src=""&gt; etc.

This might also solve your second problem.