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-13 20:35:57 +01:00
|
|
|
|
|
|
|
<?php foreach($content as $page): ?>
|
|
|
|
|
|
|
|
<h1><?php echo $page->title(); ?></h1>
|
|
|
|
<p><?php echo $page->content(); ?></p>
|
|
|
|
|
|
|
|
<?php endforeach; ?>
|
|
|
|
|
|
|
|
<nav>
|
2020-03-13 19:59:43 +01:00
|
|
|
<ul>
|
2020-03-14 17:04:32 +01:00
|
|
|
<li><a target="_blank" href="<?php echo $site->twitter() ?>" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li>
|
|
|
|
<li><a target="_blank" href="<?php echo $site->facebook() ?>" class="icon brands fa-facebook-f"><span class="label">Facebook</span></a></li>
|
|
|
|
<li><a target="_blank" href="<?php echo $site->github() ?>" class="icon brands fa-github"><span class="label">Github</span></a></li>
|
2020-03-13 19:59:43 +01:00
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<!-- Footer -->
|
2020-03-14 17:17:38 +01:00
|
|
|
<?php include(THEME_DIR_PHP.'footer.php'); ?>
|