mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 09:37:26 +00:00
site changes for blog to share nav
This commit is contained in:
parent
bf1ca1b2f7
commit
5391d8c4d9
3 changed files with 7 additions and 1 deletions
|
@ -37,6 +37,8 @@
|
|||
<meta property="og:image" content="<?php echo Response::getMetaImage() ?>" />
|
||||
<meta property="og:description" content="<?php echo Response::getMetaDescription() ?>"/>
|
||||
<meta property="og:site_name" content="LBRY" />
|
||||
|
||||
<base target="_parent" />
|
||||
</head>
|
||||
<body>
|
||||
<?php echo $content ?>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<a href="/why" <?php echo $selectedItem === '/why' ? 'class="nav-active"' : ''?>>Why</a>
|
||||
</div>
|
||||
<div class="control-item">
|
||||
<a href="//blog.lbry.io">News</a>
|
||||
<a href="//blog.lbry.io" <?php echo $selectedItem === '/news' ? 'class="nav-active"' : '' ?>>News</a>
|
||||
</div>
|
||||
<div class="control-item">
|
||||
<a href="/team" <?php echo $selectedItem === '/team' ? 'class="nav-active"' : ''?>>Team</a>
|
||||
|
|
4
view/page/navframe.php
Normal file
4
view/page/navframe.php
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?php if ($_GET['selectedItem']): ?>
|
||||
<?php NavActions::setNavUri($_GET['selectedItem']) ?>
|
||||
<?php endif ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false]) ?>
|
Loading…
Add table
Reference in a new issue