Include Typekit js in your theme using drupal_add_js

Public

Include Typekit js in your theme using drupal_add_js

Get raw version
php
  1. /**
  2.  * Implements template_preprocess_html().
  3.  */
  4. function yourthemename_preprocess_html(&$variables) {
  5.  
  6. drupal_add_js('//use.typekit.net/typekitid.js', 'external');
  7. drupal_add_js('try{Typekit.load();}catch(e){}', 'inline', 'page_bottom');
  8.  
  9. }