diff --git a/inc/template.php b/inc/template.php index 19c36abedfcc6ebe154ed6f9327708cbb8c6189d..53986823d16bfa03b88d676fc6fa3b8a0d3ef214 100644 --- a/inc/template.php +++ b/inc/template.php @@ -366,7 +366,7 @@ function tpl_metaheaders($alt = true) { if(($ACT == 'show' || $ACT == 'export_xhtml') && !$REV) { if($INFO['exists']) { //delay indexing: - if((time() - $INFO['lastmod']) >= $conf['indexdelay']) { + if(!isHiddenPage($ID) && (time() - $INFO['lastmod']) >= $conf['indexdelay']) { $head['meta'][] = array('name'=> 'robots', 'content'=> 'index,follow'); } else { $head['meta'][] = array('name'=> 'robots', 'content'=> 'noindex,nofollow');