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.
This commit is contained in:
parent
55d3b162bf
commit
67ca4fcde0
1 changed files with 7 additions and 1 deletions
|
@ -2,7 +2,13 @@
|
|||
<div class="container">
|
||||
<ul class="footer-links ps-0 mb-1">
|
||||
<?php foreach (HTML::socialNetworks() as $key => $name) {
|
||||
echo '<a class="color-blue" href="'.$site->{$key}().'"><li class="d-inline-block pe-4">' . $name . '</li></a>';
|
||||
$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>
|
||||
|
|
Loading…
Add table
Reference in a new issue