Merge pull request #1483 from jlaase/Popeye-Mastadon

Popeye mastadon
This commit is contained in:
Diego Najar 2023-02-22 22:50:48 +01:00 committed by GitHub
commit e8cfad9241
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>