This project is read-only.

Inclue Javascript in Orchard

Topics: General
Sep 21, 2011 at 4:35 PM

Was hoping someone could help me, how do I include javascript into the header of my Orchard site? I've been trying Script.Include() but it includes the script after the html tags.

Any help would be appreciated.


Sep 21, 2011 at 5:39 PM

Default behavior is to inject scripts at the end. You can force it at the head by using Script.Include().AtHead()