aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorroot2016-09-03 19:57:40 +0200
committerroot2016-09-03 19:57:40 +0200
commite0dc97ff62bb77c7e943a28638c5da1b9d429577 (patch)
treee30650fe2d6b4b1884b889aa7812a17b1c4ab4d2 /template
parent7dd0823e93f9ddc25ccc59eff7ce6f5419962757 (diff)
parent4e8fed0b773ad33e50017f498d40440592b7c4ef (diff)
Merge branch 'master' of ssh://mng.ber.c3voc.de/streaming-website
Diffstat (limited to 'template')
-rw-r--r--template/assemblies/header.phtml4
-rw-r--r--template/page.phtml6
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)?>" />