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 | |
parent | 7dd0823e93f9ddc25ccc59eff7ce6f5419962757 (diff) | |
parent | 4e8fed0b773ad33e50017f498d40440592b7c4ef (diff) |
Merge branch 'master' of ssh://mng.ber.c3voc.de/streaming-website
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)?>" /> |