diff options
author | root | 2016-09-03 19:57:40 +0200 |
---|---|---|
committer | root | 2016-09-03 19:57:40 +0200 |
commit | e0dc97ff62bb77c7e943a28638c5da1b9d429577 (patch) | |
tree | e30650fe2d6b4b1884b889aa7812a17b1c4ab4d2 /template/page.phtml | |
parent | 7dd0823e93f9ddc25ccc59eff7ce6f5419962757 (diff) | |
parent | 4e8fed0b773ad33e50017f498d40440592b7c4ef (diff) |
Merge branch 'master' of ssh://mng.ber.c3voc.de/streaming-website
Diffstat (limited to 'template/page.phtml')
-rw-r--r-- | template/page.phtml | 6 |
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)?>" /> |