Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function yourtheme_preprocess_node(&$vars) {
- $element = array(
- '#tag' => 'meta',
- '#attributes' => array(
- 'name' => 'robots',
- 'content' => 'index',
- ),
- );
- drupal_add_html_head($element, 'robots');
- }
Add Comment
Please, Sign In to add comment