Skip to content

Commit

Permalink
change twitter icon to X; fixes #1193
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali committed Jun 14, 2024
1 parent 4a98949 commit a5b9bed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- Pagination buttons: use nicer arrows, and don't show text on small screens (#1221)
- Updated Yelp URL format - if you previously used the `yelp` social network config parameter, you might need to update the config value (#1259)
- Added `title-on-all-pages` config setting, that adds the website title to all page titles (#1272)
- Change Twitter icon to X (#1193)
- Upgraded font-awesome to 6.5.2 (#1330)

## v6.0.1 (2023-06-08)
Expand Down
6 changes: 3 additions & 3 deletions _includes/social-networks-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@

{%- if network[0] == "twitter" -%}
<li class="list-inline-item">
<a href="https://twitter.com/{{ network[1] }}" title="Twitter">
<a href="https://twitter.com/{{ network[1] }}" title="X (Twitter)">
<span class="fa-stack fa-lg" aria-hidden="true">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-twitter fa-stack-1x fa-inverse"></i>
<i class="fab fa-x-twitter fa-stack-1x fa-inverse"></i>
</span>
<span class="sr-only">Twitter</span>
<span class="sr-only">X (Twitter)</span>
</a>
</li>
{%- endif -%}
Expand Down
6 changes: 3 additions & 3 deletions _includes/social-share.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

{% if site.share-links-active.twitter %}
<a href="https://twitter.com/intent/tweet?text={{ page.title | strip_html | url_encode }}&url={{ page.url | absolute_url | url_encode }}"
class="btn btn-social-icon btn-twitter" title="Share on Twitter">
<span class="fab fa-fw fa-twitter" aria-hidden="true"></span>
<span class="sr-only">Twitter</span>
class="btn btn-social-icon btn-twitter" title="Share on X (Twitter)">
<span class="fab fa-fw fa-x-twitter" aria-hidden="true"></span>
<span class="sr-only">X (Twitter)</span>
</a>
{% endif %}

Expand Down

0 comments on commit a5b9bed

Please sign in to comment.