Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Critical: Update to 2.1.8, released 15 Jan.

adding javascript to the head tag

edited January 2011 in Vanilla 2.0 Help
@mark @tim or anyone in the know....

How do I add a javascript bit into the head? I'm trying to deploy Typekit fonts onto my Vanilla install and I need to embed this:

<script type="text/javascript" src="http://use.typekit.com/tlo4aer.js"></script>;
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>


I've been looking around through the file structure, but I can't see the logical place to put it. I tried default.master.tpl in my theme, but I broke things and got a Bonk error.

Comments

Sign In or Register to comment.