Skip to content

Commit 4d057a4

Browse files
bexelbieCopilot
andauthored
Update hardcoded icon classes for Font Awesome 6 (#5446)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0c2eaef commit 4d057a4

File tree

6 files changed

+25
-25
lines changed

6 files changed

+25
-25
lines changed

_config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,16 +121,16 @@ author:
121121
email :
122122
links:
123123
- label: "Email"
124-
icon: "fas fa-fw fa-envelope-square"
124+
icon: "fas fa-fw fa-square-envelope"
125125
# url: "mailto:your.name@email.com"
126126
- label: "Website"
127127
icon: "fas fa-fw fa-link"
128128
# url: "https://your-website.com"
129129
- label: "Twitter"
130-
icon: "fab fa-fw fa-twitter-square"
130+
icon: "fab fa-fw fa-square-x-twitter"
131131
# url: "https://twitter.com/"
132132
- label: "Facebook"
133-
icon: "fab fa-fw fa-facebook-square"
133+
icon: "fab fa-fw fa-square-facebook"
134134
# url: "https://facebook.com/"
135135
- label: "GitHub"
136136
icon: "fab fa-fw fa-github"
@@ -143,11 +143,11 @@ author:
143143
footer:
144144
links:
145145
- label: "Twitter"
146-
icon: "fab fa-fw fa-twitter-square"
146+
icon: "fab fa-fw fa-square-x-twitter"
147147
# url:
148148
# rel: "me" # optional: adds rel attribute (e.g. for IndieWeb web sign-in)
149149
- label: "Facebook"
150-
icon: "fab fa-fw fa-facebook-square"
150+
icon: "fab fa-fw fa-square-facebook"
151151
# url:
152152
- label: "GitHub"
153153
icon: "fab fa-fw fa-github"

_includes/author-profile.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h3 class="author__name p-name" itemprop="name">
2828
<ul class="author__urls social-icons">
2929
{% if author.location %}
3030
<li itemprop="homeLocation" itemscope itemtype="https://schema.org/Place">
31-
<i class="fas fa-fw fa-map-marker-alt" aria-hidden="true"></i> <span itemprop="name" class="p-locality">{{ author.location }}</span>
31+
<i class="fas fa-fw fa-location-dot" aria-hidden="true"></i> <span itemprop="name" class="p-locality">{{ author.location }}</span>
3232
</li>
3333
{% endif %}
3434

@@ -52,7 +52,7 @@ <h3 class="author__name p-name" itemprop="name">
5252
<li>
5353
<a href="mailto:{{ author.email }}" rel="me" class="u-email">
5454
<meta itemprop="email" content="{{ author.email }}" />
55-
<i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[locale].email_label | default: "Email" }}</span>
55+
<i class="fas fa-fw fa-square-envelope" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[locale].email_label | default: "Email" }}</span>
5656
</a>
5757
</li>
5858
{% endif %}
@@ -68,15 +68,15 @@ <h3 class="author__name p-name" itemprop="name">
6868
{% if author.twitter %}
6969
<li>
7070
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
71-
<i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i><span class="label">Twitter</span>
71+
<i class="fab fa-fw fa-square-x-twitter" aria-hidden="true"></i><span class="label">Twitter</span>
7272
</a>
7373
</li>
7474
{% endif %}
7575

7676
{% if author.facebook %}
7777
<li>
7878
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
79-
<i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i><span class="label">Facebook</span>
79+
<i class="fab fa-fw fa-square-facebook" aria-hidden="true"></i><span class="label">Facebook</span>
8080
</a>
8181
</li>
8282
{% endif %}
@@ -92,7 +92,7 @@ <h3 class="author__name p-name" itemprop="name">
9292
{% if author.xing %}
9393
<li>
9494
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
95-
<i class="fab fa-fw fa-xing-square" aria-hidden="true"></i><span class="label">XING</span>
95+
<i class="fab fa-fw fa-square-xing" aria-hidden="true"></i><span class="label">XING</span>
9696
</a>
9797
</li>
9898
{% endif %}
@@ -108,7 +108,7 @@ <h3 class="author__name p-name" itemprop="name">
108108
{% if author.tumblr %}
109109
<li>
110110
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs" rel="nofollow noopener noreferrer me">
111-
<i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i><span class="label">Tumblr</span>
111+
<i class="fab fa-fw fa-square-tumblr" aria-hidden="true"></i><span class="label">Tumblr</span>
112112
</a>
113113
</li>
114114
{% endif %}
@@ -148,7 +148,7 @@ <h3 class="author__name p-name" itemprop="name">
148148
{% if author.lastfm %}
149149
<li>
150150
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
151-
<i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i><span class="label">Last.fm</span>
151+
<i class="fab fa-fw fa-square-lastfm" aria-hidden="true"></i><span class="label">Last.fm</span>
152152
</a>
153153
</li>
154154
{% endif %}

docs/_docs/05-configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ Author links are all optional, include the ones you want visible under the `auth
923923
| Name | Description |
924924
| --------- | ----------------------------------------------------------------------------------------------------- |
925925
| **label** | Link label (e.g. `"Twitter"`) |
926-
| **icon** | [Font Awesome icon](https://fontawesome.com/v6/search) classes (e.g. `"fab fa-fw fa-twitter-square"`) |
926+
| **icon** | [Font Awesome icon](https://fontawesome.com/v6/search) classes (e.g. `"fab fa-fw fa-square-x-twitter"`) |
927927
| **url** | Link URL (e.g. `"https://twitter.com/mmistakes"`) |
928928

929929
```yaml
@@ -937,7 +937,7 @@ author:
937937
icon: "fas fa-fw fa-link"
938938
url: "https://mademistakes.com"
939939
- label: "Twitter"
940-
icon: "fab fa-fw fa-twitter-square"
940+
icon: "fab fa-fw fa-square-x-twitter"
941941
url: "https://twitter.com/mmistakes"
942942
- label: "GitHub"
943943
icon: "fab fa-fw fa-github"
@@ -956,15 +956,15 @@ Footer links can be added under the `footer.links` array.
956956
| Name | Description |
957957
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
958958
| **label** | Link label (e.g. `"Twitter"`) |
959-
| **icon** | [Font Awesome icon](https://fontawesome.com/v6/search) classes (e.g. `"fab fa-fw fa-twitter-square"`) |
959+
| **icon** | [Font Awesome icon](https://fontawesome.com/v6/search) classes (e.g. `"fab fa-fw fa-square-x-twitter"`) |
960960
| **url** | Link URL (e.g. `"https://twitter.com/mmistakes"`) |
961961
| **rel** | Optional [link relation](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel) appended to the default `nofollow noopener noreferrer` (e.g. `"me"` for [IndieWeb web sign-in](https://indieweb.org/How_to_set_up_web_sign-in_on_your_own_domain)) |
962962

963963
```yaml
964964
footer:
965965
links:
966966
- label: "Twitter"
967-
icon: "fab fa-fw fa-twitter-square"
967+
icon: "fab fa-fw fa-square-x-twitter"
968968
url: "https://twitter.com/mmistakes"
969969
- label: "GitHub"
970970
icon: "fab fa-fw fa-github"

docs/_docs/09-authors.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Billy Rick:
2020
avatar : "/assets/images/bio-photo-2.jpg"
2121
links:
2222
- label: "Email"
23-
icon: "fas fa-fw fa-envelope-square"
23+
icon: "fas fa-fw fa-square-envelope"
2424
url: "mailto:billyrick@rick.com"
2525
- label: "Website"
2626
icon: "fas fa-fw fa-link"
2727
url: "https://thewhip.com"
2828
- label: "Twitter"
29-
icon: "fab fa-fw fa-twitter-square"
29+
icon: "fab fa-fw fa-square-x-twitter"
3030
url: "https://twitter.com/extravagantman"
3131

3232
Cornelius Fiddlebone:
@@ -35,10 +35,10 @@ Cornelius Fiddlebone:
3535
avatar : "/assets/images/bio-photo.jpg"
3636
links:
3737
- label: "Email"
38-
icon: "fas fa-fw fa-envelope-square"
38+
icon: "fas fa-fw fa-square-envelope"
3939
url: "mailto:cornelius@thewhip.com"
4040
- label: "Twitter"
41-
icon: "fab fa-fw fa-twitter-square"
41+
icon: "fab fa-fw fa-square-x-twitter"
4242
url: "https://twitter.com/rhymeswithsackit"
4343
```
4444

docs/_docs/10-layouts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ author:
607607
icon: "fas fa-fw fa-link"
608608
url: "https://mademistakes.com"
609609
- label: "Twitter"
610-
icon: "fab fa-fw fa-twitter-square"
610+
icon: "fab fa-fw fa-square-x-twitter"
611611
url: "https://twitter.com/mmistakes"
612612
- label: "GitHub"
613613
icon: "fab fa-fw fa-github"

docs/_posts/2012-03-15-layout-author-override.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Billy Rick:
2020
avatar : "/assets/images/bio-photo-2.jpg"
2121
links:
2222
- label: "Email"
23-
icon: "fas fa-fw fa-envelope-square"
23+
icon: "fas fa-fw fa-square-envelope"
2424
url: "mailto:billyrick@rick.com"
2525
- label: "Website"
2626
icon: "fas fa-fw fa-link"
2727
url: "https://thewhip.com"
2828
- label: "Twitter"
29-
icon: "fab fa-fw fa-twitter-square"
29+
icon: "fab fa-fw fa-square-x-twitter"
3030
url: "https://twitter.com/extravagantman"
3131

3232
Cornelius Fiddlebone:
@@ -35,10 +35,10 @@ Cornelius Fiddlebone:
3535
avatar : "/assets/images/bio-photo.jpg"
3636
links:
3737
- label: "Email"
38-
icon: "fas fa-fw fa-envelope-square"
38+
icon: "fas fa-fw fa-square-envelope"
3939
url: "mailto:cornelius@thewhip.com"
4040
- label: "Twitter"
41-
icon: "fab fa-fw fa-twitter-square"
41+
icon: "fab fa-fw fa-square-x-twitter"
4242
url: "https://twitter.com/rhymeswithsackit"
4343
```
4444

0 commit comments

Comments
 (0)