Skip to content

Commit

Permalink
Merge pull request #1040 from nunocoracao/1038-update-twitter-icon-to-x
Browse files Browse the repository at this point in the history
🎨 Update twitter icon to X
  • Loading branch information
nunocoracao authored Nov 2, 2023
2 parents 82251df + 9b12b03 commit e1b9050
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions assets/icons/x-twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions config/_default/languages.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ title = "Blowfish"
# { tumblr = "https://username.tumblr.com" },
# { twitch = "https://twitch.tv/username" },
# { twitter = "https://twitter.com/username" },
# { x-twitter = "https://twitter.com/username" },
# { whatsapp = "https://wa.me/phone-number" },
# { youtube = "https://youtube.com/username" },
# { ko-fi = "https://ko-fi.com/username" },
Expand Down
2 changes: 1 addition & 1 deletion data/sharing.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"url": "https://reddit.com/submit/?url=%s&resubmit=true&title=%s"
},
"twitter": {
"icon": "twitter",
"icon": "x-twitter",
"title": "sharing.twitter",
"url": "https://twitter.com/intent/tweet/?url=%s&text=%s"
},
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/config/_default/languages.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ title = "Blowfish"
headline = "A powerful, lightweight theme for Hugo built with Tailwind CSS."
bio = "A powerful, lightweight theme for Hugo built with Tailwind CSS."
links = [
{ twitter = "https://twitter.com/burufugu" },
{ x-twitter = "https://twitter.com/burufugu" },
{ mastodon = "https://masto.ai/@blowfish" },
{ github = "https://github.com/nunocoracao/blowfish" },
]
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/config/_default/menus.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

[[main]]
identifier = "twitter"
pre = "twitter"
pre = "x-twitter"
url = "https://twitter.com/burufugu"
weight = 200

Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/samples/icons/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,6 @@ The full list of built-in icons and their corresponding names can referenced bel
| twitter | {{< icon twitter >}} |
| wand-magic-sparkles | {{< icon wand-magic-sparkles >}} |
| whatsapp | {{< icon whatsapp >}} |
| x-twitter | {{< icon x-twitter >}} |
| xmark | {{< icon xmark >}} |
| youtube | {{< icon youtube >}} |

0 comments on commit e1b9050

Please sign in to comment.