Skip to content

Commit 4284cfa

Browse files
authored
Merge pull request #344 from cakephp/add-mastodon-pt2
Add mastodon Part 2
2 parents fbe2236 + d377fc6 commit 4284cfa

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

config/site.php

+5
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@
117117
'options' => ['target' => '_blank'],
118118
'title' => 'Twitter',
119119
],
120+
'mastodon' => [
121+
'url' => 'https://phpc.social/@cakephp',
122+
'options' => ['target' => '_blank', 'rel' => 'me'],
123+
'title' => 'Mastodon',
124+
],
120125
],
121126
'help' => [
122127
'discourse' => [

src/Template/Element/Layout/default/footer/social_links.ctp

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
]
7777
); ?>
7878
<?= $this->Html->link(
79-
$this->Html->tag('i', '', ['class' => 'fa icon-social fa-stack-mastodon']),
79+
$this->Html->tag('i', '', ['class' => 'fa icon-social fa-mastodon']),
8080
'https://phpc.social/@cakephp',
8181
[
8282
'rel' => 'me',

0 commit comments

Comments
 (0)