koblog/bl-themes/popeye/php/footer.php
Joshua Laase 67ca4fcde0 Update footer.php
This change adds a rel='me' info to the mastodon link in the footer. This allows anyone using the Popeye theme to have their website validated in their Mastodon profile.
2023-01-02 09:27:39 -06:00

17 lines
No EOL
561 B
PHP

<footer class="footer p-3 p-md-5 mt-5 text-center">
<div class="container">
<ul class="footer-links ps-0 mb-1">
<?php foreach (HTML::socialNetworks() as $key => $name) {
$link = '<a ';
if(strtolower($key) == 'mastodon') {
$link .= 'rel="me" ';
}
$link .= 'class="color-blue" href="'.$site->{$key}().'"><li class="d-inline-block pe-4">' . $name . '</li></a>';
echo $link;
}
?>
</ul>
<p class="m-0 mt-2">Powered by <a class="color-blue" href="https://www.bludit.com">Bludit</a> - Open source CMS</p>
</div>
</footer>