first version
This commit is contained in:
16
site/snippets/footer.php
Executable file
16
site/snippets/footer.php
Executable file
@@ -0,0 +1,16 @@
|
||||
</div>
|
||||
|
||||
<footer class="footer">
|
||||
<a href="<?= url() ?>">© <?= 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>
|
Reference in New Issue
Block a user