mirror of
https://github.com/crydotsnake/bludit-aerial.git
synced 2024-11-23 12:41:34 +01:00
Update Social Network Code
This commit is contained in:
parent
403a2a6c8f
commit
7ff5a34434
17
index.php
17
index.php
@ -8,9 +8,20 @@
|
|||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a target="_blank" href="<?php echo $site->twitter() ?>" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li>
|
<?php
|
||||||
<li><a target="_blank" href="<?php echo $site->facebook() ?>" class="icon brands fa-facebook-f"><span class="label">Facebook</span></a></li>
|
if ($site->twitter()){
|
||||||
<li><a target="_blank" href="<?php echo $site->github() ?>" class="icon brands fa-github"><span class="label">Github</span></a></li>
|
echo '<li><a target="_blank" href="'.$site->twitter().'" class="icon brands fa-twitter"></a></li>';
|
||||||
|
}
|
||||||
|
if ($site->instagram()){
|
||||||
|
echo '<li><a target="_blank" href="'.$site->instagram().'" class="icon brands fa-instagram"></a></li>';
|
||||||
|
}
|
||||||
|
if ($site->facebook()){
|
||||||
|
echo '<li><a target="_blank" href="'.$site->facebook().'" class="icon brands fa-facebook-f"></a></li>';
|
||||||
|
}
|
||||||
|
if ($site->github()){
|
||||||
|
echo '<li><a target="_blank" href="'.$site->github().'" class="icon brands fa-github"></a></li>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
Reference in New Issue
Block a user