Added Bluesky to social accounts

As Twitter is becoming more and more of a muckraker, the alternative should be shown here as well.
This commit is contained in:
Robert Pfotenhauer 2024-11-19 11:02:33 +01:00
commit 56f5460839
5 changed files with 15 additions and 0 deletions

View file

@ -2469,6 +2469,7 @@ function tab($p)
// Social links
function social($class = null)
{
$bluesky = config('social.bluesky');
$twitter = config('social.twitter');
$facebook = config('social.facebook');
$instagram = config('social.instagram');
@ -2482,6 +2483,9 @@ function social($class = null)
$social .= '<div class="social-logo ' . $class . '">';
$social .= '<link rel="stylesheet" id="social-logo-style" href="'. site_url() .'system/resources/css/social-logos.css" type="text/css" media="all">';
if (!empty($bluesky)) {
$social .= '<a class="social-logo-bluesky" href="' . $bluesky . '" target="_blank" rel="nofollow"><span class="screen-reader-text">Bluesky</span></a>';
}
if (!empty($twitter)) {
$social .= '<a class="social-logo-x" href="' . $twitter . '" target="_blank" rel="nofollow"><span class="screen-reader-text">Twitter</span></a>';
}