Fork me on GitHub
Current release is 2.1.6 (21 Nov 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.

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.