You are here

function theme_simplemeta_meta_description in Simple Meta 6.2

Same name and namespace in other branches
  1. 7 simplemeta.theme.inc \theme_simplemeta_meta_description()

File

./simplemeta.theme.inc, line 30
theming

Code

function theme_simplemeta_meta_description($meta) {
  if (!empty($meta->data['description'])) {

    // @todo think about
    return '<meta name="description" content="' . trim(strip_tags(decode_entities($meta->data['description']))) . '" />';
  }
  return '';
}