mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 19:46:21 +05:30
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:
parent
973a2c5a05
commit
56f5460839
5 changed files with 15 additions and 0 deletions
|
|
@ -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>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue