XF 1.5 Insert scripts into ALL pages running XenForo?

I have external fonts using Typekit, by Adobe which requires me to link the following code onto ALL pages that will be using the fonts.

<script src="https://use.typekit.net/XXXXXXXXX.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>

How would i go about inserting that into the like core page files that run xenforo ?​


Well-known member
@Brogan thanks for referencing me to that page. I read section 5, however I'm having trouble locating "page_container_s_head" ? Any idea where its located in the directories?
Its a template. Templates are stored in database, not in file system. In admin panel click Styles tab, then click Templates link.