Skip to content

Commit f18be6c

Browse files
committed
Bye Bye, Twitter
1 parent 3fc8b6b commit f18be6c

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

docs/setup/setting-up-the-footer.md

+16-14
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The footer of your project documentation is a great place to add links to
44
websites or platforms you or your company are using as additional marketing
5-
channels, e.g. :fontawesome-brands-twitter:{ style="color: #1DA1F2" } or
5+
channels, e.g. :fontawesome-brands-mastodon:{ style="color: #5A4CE0" } or
66
:fontawesome-brands-youtube:{ style="color: #EE0F0F" }, which you can easily
77
configure via `mkdocs.yml`.
88

@@ -36,15 +36,15 @@ with:
3636
``` yaml
3737
extra:
3838
social:
39-
- icon: fontawesome/brands/twitter # (1)!
40-
link: https://twitter.com/squidfunk
39+
- icon: fontawesome/brands/mastodon # (1)!
40+
link: https://fosstodon.org/@squidfunk
4141
```
4242

4343
1. Enter a few keywords to find the perfect icon using our [icon search] and
4444
click on the shortcode to copy it to your clipboard:
4545

4646
<div class="mdx-iconsearch" data-mdx-component="iconsearch">
47-
<input class="md-input md-input--stretch mdx-iconsearch__input" placeholder="Search icon" data-mdx-component="iconsearch-query" value="brands twitter" />
47+
<input class="md-input md-input--stretch mdx-iconsearch__input" placeholder="Search icon" data-mdx-component="iconsearch-query" value="mastodon" />
4848
<div class="mdx-iconsearch-result" data-mdx-component="iconsearch-result" data-mdx-mode="file">
4949
<div class="mdx-iconsearch-result__meta"></div>
5050
<ol class="mdx-iconsearch-result__list"></ol>
@@ -59,30 +59,31 @@ The following properties are available for each link:
5959
This property must contain a valid path to any icon bundled with the theme,
6060
or the build will not succeed. Some popular choices:
6161

62+
* :fontawesome-brands-mastodon: – `fontawesome/brands/mastodon`
63+
<small>automatically adds [`rel=me`][rel=me]</small>
64+
* :fontawesome-brands-twitter: – `fontawesome/brands/twitter`
65+
* :fontawesome-brands-github: – `fontawesome/brands/github`
6266
* :fontawesome-brands-docker: – `fontawesome/brands/docker`
6367
* :fontawesome-brands-facebook: – `fontawesome/brands/facebook`
64-
* :fontawesome-brands-github: – `fontawesome/brands/github`
68+
* :fontawesome-brands-medium: – `fontawesome/brands/medium`
6569
* :fontawesome-brands-instagram: – `fontawesome/brands/instagram`
6670
* :fontawesome-brands-linkedin: – `fontawesome/brands/linkedin`
67-
* :fontawesome-brands-medium: – `fontawesome/brands/medium`
6871
* :fontawesome-brands-pied-piper-alt: – `fontawesome/brands/pied-piper-alt`
69-
* :fontawesome-brands-product-hunt: – `fontawesome/brands/product-hunt`
7072
* :fontawesome-brands-slack: – `fontawesome/brands/slack`
71-
* :fontawesome-brands-twitter: – `fontawesome/brands/twitter`
7273

7374
[`link`](#+social.link){ #+social.link }
7475

7576
: :octicons-milestone-24: Default: _none_ · :octicons-alert-24: __Required__ –
7677
This property must be set to a relative or absolute URL including the URI
7778
scheme. All URI schemes are supported, including `mailto` and `bitcoin`:
7879

79-
=== ":fontawesome-brands-twitter: Twitter"
80+
=== ":fontawesome-brands-mastodon: Mastodon"
8081

8182
``` yaml
8283
extra:
8384
social:
84-
- icon: fontawesome/brands/twitter
85-
link: https://twitter.com/squidfunk
85+
- icon: fontawesome/brands/mastodon
86+
link: https://fosstodon.org/@squidfunk
8687
```
8788

8889
=== ":octicons-mail-16: Email"
@@ -103,13 +104,14 @@ The following properties are available for each link:
103104
``` yaml
104105
extra:
105106
social:
106-
- icon: fontawesome/brands/twitter
107-
link: https://twitter.com/squidfunk
108-
name: squidfunk on Twitter
107+
- icon: fontawesome/brands/mastodon
108+
link: https://fosstodon.org/@squidfunk
109+
name: squidfunk on Fosstodon
109110
```
110111

111112
[icon search]: ../reference/icons-emojis.md#search
112113
[Social links support]: https://github.com/squidfunk/mkdocs-material/releases/tag/1.0.0
114+
[rel=me]: https://docs.joinmastodon.org/user/profile/#verification
113115

114116
### Copyright notice
115117

0 commit comments

Comments
 (0)