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
495ceb8bcc
commit
3787192ed8
1 changed files with 8 additions and 2 deletions
|
@ -2,7 +2,13 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<ul class="footer-links ps-0 mb-1">
|
<ul class="footer-links ps-0 mb-1">
|
||||||
<?php foreach (HTML::socialNetworks() as $key => $name) {
|
<?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>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue