Merge pull request #1 from thecodechef/update-twitter-links

Changed `twitter.com` to `x.com` in `_includes/docs/elements/tw.html` Fixes #3898
This commit is contained in:
Jeremy Bolding 2024-09-11 11:53:59 -05:00 committed by GitHub
commit 98e7ac3c12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,13 +33,13 @@
<ul class="bd-tw-actions"> <ul class="bd-tw-actions">
<li class="bd-tw-action is-reply"> <li class="bd-tw-action is-reply">
<a class="bd-tw-action-link" href="https://twitter.com/intent/tweet?in_reply_to={{ tweet.id }}"> <a class="bd-tw-action-link" href="https://x.com/intent/tweet?in_reply_to={{ tweet.id }}">
<div class="bd-tw-icon"></div> <div class="bd-tw-icon"></div>
</a> </a>
</li> </li>
<li class="bd-tw-action is-retweet"> <li class="bd-tw-action is-retweet">
<a class="bd-tw-action-link" href="https://twitter.com/intent/retweet?tweet_id={{ tweet.id }}"> <a class="bd-tw-action-link" href="https://x.com/intent/retweet?tweet_id={{ tweet.id }}">
<div class="bd-tw-icon"></div> <div class="bd-tw-icon"></div>
{% if tweet.retweets != 0 %} {% if tweet.retweets != 0 %}
<span class="bd-tw-action-stat"> <span class="bd-tw-action-stat">
@ -50,7 +50,7 @@
</li> </li>
<li class="bd-tw-action is-heart"> <li class="bd-tw-action is-heart">
<a class="bd-tw-action-link" href="https://twitter.com/intent/like?tweet_id={{ tweet.id }}&amp;ref_src=twsrc%5Etfw&amp;ref_url=http%3A%2F%2Fbulma.io%2F&amp;original_referer=http%3A%2F%2Fbulma.io%2F&amp;tw_i={{ tweet.id }}&amp;tw_p=tweetembed" target="_blank"> <a class="bd-tw-action-link" href="https://x.com/intent/like?tweet_id={{ tweet.id }}&amp;ref_src=twsrc%5Etfw&amp;ref_url=http%3A%2F%2Fbulma.io%2F&amp;original_referer=http%3A%2F%2Fbulma.io%2F&amp;tw_i={{ tweet.id }}&amp;tw_p=tweetembed" target="_blank">
<div class="bd-tw-icon"></div> <div class="bd-tw-icon"></div>
{% if tweet.hearts != 0 %} {% if tweet.hearts != 0 %}
<span class="bd-tw-action-stat"> <span class="bd-tw-action-stat">