diff --git a/metatag.module b/metatag.module index c24e291..dacb6ed 100644 --- a/metatag.module +++ b/metatag.module @@ -1058,10 +1058,10 @@ function metatag_page_build(&$page) { $page['content']['metatags'] = array(); } - // The front page has special consideration. - if (drupal_is_front_page()) { - $instance = 'global:frontpage'; - + // The front page has special consideration, but only if it has an explicit + // configuration enabled. + $instance = 'global:frontpage'; + if (drupal_is_front_page() && !metatag_config_load($instance)->disabled) { // These two parts are sufficient given that the homepage is unique. $cid_parts = array( 'langcode' => $GLOBALS['language_content']->language,