aboutsummaryrefslogtreecommitdiff
path: root/template/page.phtml
diff options
context:
space:
mode:
authorMaZderMind2016-09-03 19:50:34 +0200
committerMaZderMind2016-09-03 19:55:40 +0200
commit4e8fed0b773ad33e50017f498d40440592b7c4ef (patch)
tree256c9ac062e565933e85a7ccd212dca5f8852a84 /template/page.phtml
parent6ee36da3d945b9b412eddf97aba90c65b5664afa (diff)
accept ?forceopen=yes to force a conference open
Diffstat (limited to 'template/page.phtml')
-rw-r--r--template/page.phtml6
1 files changed, 5 insertions, 1 deletions
diff --git a/template/page.phtml b/template/page.phtml
index 3969c12..b62f372 100644
--- a/template/page.phtml
+++ b/template/page.phtml
@@ -16,7 +16,11 @@
<title><?=h($title)?> – <?=h($conference->getTitle())?> Streaming</title>
- <meta name="robots" content="index,follow" />
+ <? if($conference->isPreviewEnabled()): ?>
+ <meta name="robots" content="noindex,nofollow" />
+ <? else: ?>
+ <meta name="robots" content="index,follow" />
+ <? endif ?>
<? if(isset($refresh)): ?>
<meta http-equiv="refresh" content="<?=h($refresh)?>; URL=<?=h($canonicalurl)?>" />