This is actually an issue of the metatag module, please refer to https://drupal.org/node/2178411.
Workaround https://www.drupal.org/node/1386320

Comments

hatuhay’s picture

Issue summary: View changes
hatuhay’s picture

This need a patch, but basically the solution is:
In template.php
Add the following line: $variables['pagemetatag'] = metatag_metatags_view('global:frontpage');

<?php
function bootstrap_barrio_preprocess_page(&$variables) {
  $variables['content_width'] = _bootstrap_barrio_content_width();
  $variables['sidebar_first_width'] = 'col-md-' . theme_get_setting('sidebar_first_width');
  $variables['sidebar_second_width'] = 'col-md-' . theme_get_setting('sidebar_second_width');
  if (theme_get_setting('collapse')) {
    $variables['collapse'] = 'collapse navbar-collapse';
  }
  else {
    $variables['collapse'] = 'not-collapse';
  }
  if (!theme_get_setting('print_content') && drupal_is_front_page()) {
    $variables['print_content'] = FALSE;
    $variables['pagemetatag'] = metatag_metatags_view('global:frontpage');
  }
  else {
    $variables['print_content'] = TRUE;
  }

?>

In page.tpl.php look for line 131:

<?php
      <?php if ($print_content): ?>
        <div id="content-inner">
          <?php print render($page['content']); ?>
        </div>
      <?php else: ?>
        <?php
          render($pagemetatag);
        ?>
      <?php endif; ?>
?>