HTML Template per Node Type

In case you need a different html.tpl.php on a per content type basis in Drupal 7

function THEME_preprocess_html(&$vars) {
  $node = menu_get_object();
  if ($node && $node->nid) {
    $vars['theme_hook_suggestions'][] = 'html__' . $node->type;

Need a great new website or a helping hand with Drupal? Head over to or contact me directly to see if we can work something out.