Fork me on GitHub
Current releases are 2.1.3 (9 Sept 2014) and (5 Aug 2014)

Ready for 2.1? Find out if your plugins are compatible. 2.0 will no longer be updated after Dec 2014.

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=""></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.


Sign In or Register to comment.