summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/template.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/template.php b/inc/template.php
index ac24096a3..f06503043 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -196,6 +196,8 @@ function tpl_metaheaders($alt=true){
}else{
ptln('<meta name="robots" content="noindex,follow" />',$it);
}
+ }elseif(defined('DOKU_MEDIADETAIL')){
+ ptln('<meta name="robots" content="index,follow" />',$it);
}else{
ptln('<meta name="robots" content="noindex,nofollow" />',$it);
}