You are here

function nodewords_extra_geo_placename_prepare in Nodewords: D6 Meta Tags 6

Set the meta tag content.

File

nodewords_extra/nodewords_extra.module, line 728
Define extra meta tags for Drupal pages.

Code

function nodewords_extra_geo_placename_prepare(&$tags, $content, $options) {
  if (!empty($content['value'])) {
    $tags['geo.placename'] = $content['value'];
  }
  elseif (!empty($options['default']['geo.placename']['value'])) {
    $tags['geo.placename'] = $options['default']['geo.placename']['value'];
  }
}