bratsun
3/18/2015 - 8:41 AM

Add css or js via theme function and preprocess html hook

Add css or js via theme function and preprocess html hook

function tmplt_preprocess_html(&$variables) {
  drupal_add_css('http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic&subset=latin,cyrillic', array('type' => 'external'));
}