1
0
bludit-theme-aerial/index.php

28 lines
868 B
PHP
Raw Permalink Normal View History

2022-11-28 16:01:11 +01:00
<!-- Header -->
<?php include(THEME_DIR_PHP.'header.php'); ?>
<header id="header">
<?php foreach($content as $page): ?>
<h1><?php echo $page->title(); ?></h1>
<p><?php echo $page->content(); ?></p>
<?php endforeach ?>
<nav>
<ul>
<?php
2022-11-30 21:55:35 +01:00
if ($site->linkedin()){
2022-11-28 16:01:11 +01:00
echo '<li><a target="_blank" href="'.$site->linkedin().'" class="icon brands fa-linkedin"></a></li>';
}
if ($site->instagram()){
echo '<li><a target="_blank" href="'.$site->instagram().'" class="icon brands fa-instagram"></a></li>';
}
if ($site->github()){
echo '<li><a target="_blank" href="'.$site->mastodon().'" class="icon brands fa-mastodon"></a></li>';
}
?>
</ul>
</nav>
</header>
<!-- Footer -->
<?php include(THEME_DIR_PHP.'footer.php'); ?>