2020-03-14 17:17:38 +01:00
|
|
|
<!-- Header -->
|
|
|
|
<?php include(THEME_DIR_PHP.'header.php'); ?>
|
2020-03-13 20:35:57 +01:00
|
|
|
|
2020-03-13 19:59:43 +01:00
|
|
|
<header id="header">
|
2020-03-16 19:38:39 +01:00
|
|
|
<?php foreach($content as $page): ?>
|
2020-03-13 20:35:57 +01:00
|
|
|
<h1><?php echo $page->title(); ?></h1>
|
|
|
|
<p><?php echo $page->content(); ?></p>
|
2020-03-16 19:40:44 +01:00
|
|
|
<?php endforeach ?>
|
2020-03-13 20:35:57 +01:00
|
|
|
<nav>
|
2020-03-13 19:59:43 +01:00
|
|
|
<ul>
|
2020-04-15 11:41:59 +02:00
|
|
|
<?php
|
|
|
|
if ($site->twitter()){
|
|
|
|
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>';
|
|
|
|
}
|
|
|
|
?>
|
2020-03-13 19:59:43 +01:00
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
|
2020-03-14 17:27:09 +01:00
|
|
|
<!-- Footer -->
|
2020-03-16 19:38:39 +01:00
|
|
|
<?php include(THEME_DIR_PHP.'footer.php'); ?>
|