Moving links to the aside block instead of the footer.

main
Nicolas Ong 2023-09-09 23:54:17 +02:00
parent bf5c33d08e
commit 14fd3a8cbf
3 changed files with 6 additions and 7 deletions

View File

@ -1,6 +1,7 @@
<aside>
<?php
include "views/bio.phtml";
include "views/links.phtml";
include "views/nav-by-tag.phtml";
include "views/nav-by-latest.phtml";
?>

View File

@ -1,10 +1,3 @@
<footer>
<?php if ($has_links): ?>
<ul class="links">
<?php foreach ($links as $link): ?>
<li><a rel="me" href="<?=$link->url?>" class="<?=$link->title?>"><?=$link->title?></a></li>
<?php endforeach ?>
</ul>
<?php endif ?>
<p><?=$footer?></p>
</footer>

5
views/links.phtml Normal file
View File

@ -0,0 +1,5 @@
<ul class="links">
<?php foreach ($links as $link): ?>
<li class="icon"><a rel="me" href="<?=$link->url?>" class="icon <?=$link->title?>"><?=$link->title?></a></li>
<?php endforeach ?>
</ul>