first version

This commit is contained in:
Bastian Allgeier
2019-01-13 23:17:34 +01:00
commit 01277f79f2
595 changed files with 82913 additions and 0 deletions

16
site/snippets/footer.php Executable file
View File

@@ -0,0 +1,16 @@
</div>
<footer class="footer">
<a href="<?= url() ?>">&copy; <?= date('Y') ?> / <?= $site->title() ?></a>
<?php if ($about = page('about')): ?>
<nav class="social">
<?php foreach ($about->social()->toStructure() as $social): ?>
<a href="<?= $social->url() ?>"><?= $social->platform() ?></a>
<?php endforeach ?>
</nav>
<?php endif ?>
</footer>
</body>
</html>