diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/assemblies/header.phtml | 4 | ||||
-rw-r--r-- | template/page.phtml | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml index b2d4215..c4d92e7 100644 --- a/template/assemblies/header.phtml +++ b/template/assemblies/header.phtml @@ -1,7 +1,7 @@ <nav class="navbar navbar-default navbar-fixed-top" role="navigation"> <div class="container"> <div class="navbar-header"> - <a class="navbar-brand" href=""> + <a class="navbar-brand" href="<?=$conference->getLink()?>"> <i class="icon"></i> <?=h($conference->getTitle())?> Streaming </a> @@ -25,7 +25,7 @@ <span class="fa fa-video-camera"></span> </a> <? endif ?> - <a class="form-control btn btn-default about" title="About" href="about/"> + <a class="form-control btn btn-default about" title="About" href="<?=$conference->getAboutLink()?>"> <span class="fa fa-info"></span> </a> </div> 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)?>" /> |